diff --git a/components/resource/stats.cpp b/components/resource/stats.cpp index 690e41bbaf..863429d600 100644 --- a/components/resource/stats.cpp +++ b/components/resource/stats.cpp @@ -31,7 +31,7 @@ static bool collectStatFrameRate = false; static bool collectStatUpdate = false; static bool collectStatEngine = false; -static std::string sFontName = "Fonts/DejaVuLGCSansMono.ttf"; +constexpr std::string_view sFontName = "Fonts/DejaVuLGCSansMono.ttf"; static void setupStatCollection() {