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 */