From facdc8fc0d49efdf774f45caa080f466df21df0f Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Sun, 17 Jul 2022 22:13:27 +0400 Subject: [PATCH] Use string_view --- components/resource/stats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {