From 3ee53435c59f1ba35e065c9d72f829cd33031b3a Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 23 Jun 2020 14:30:12 +0200 Subject: [PATCH] [libcalamares] Fix constness issue (gcc reported) --- src/libcalamares/utils/Logger.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcalamares/utils/Logger.h b/src/libcalamares/utils/Logger.h index 2354155ed..91b2113b6 100644 --- a/src/libcalamares/utils/Logger.h +++ b/src/libcalamares/utils/Logger.h @@ -220,12 +220,12 @@ public: struct Pointer { public: - explicit Pointer( void* p ) + explicit Pointer( const void* p ) : ptr( p ) { } - const void* ptr; + const void* const ptr; }; /** @brief output operator for DebugRow */