diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index e539594a..30eb9aaa 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -136,7 +136,7 @@ static void RunOnMainThread( const std::function& cb, bool forceDelay = static void SetupDPIScale() { - const auto scale = dpiScale * userScale; + auto scale = dpiScale * userScale; LoadFonts( scale ); if( view ) view->UpdateFont( s_fixedWidth, s_smallFont, s_bigFont );