From aaed751bf4430bf4b9b30cef532b8753b9f639ce Mon Sep 17 00:00:00 2001 From: untodesu Date: Thu, 11 Sep 2025 13:48:31 +0500 Subject: Replace most of C strings with string_view --- game/client/gui/splash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/client/gui/splash.cc') diff --git a/game/client/gui/splash.cc b/game/client/gui/splash.cc index a144f97..9eed8d3 100644 --- a/game/client/gui/splash.cc +++ b/game/client/gui/splash.cc @@ -18,7 +18,7 @@ constexpr static ImGuiWindowFlags WINDOW_FLAGS = ImGuiWindowFlags_NoBackground | constexpr static int SPLASH_COUNT = 4; constexpr static std::size_t DELAY_MICROSECONDS = 2000000; -constexpr static const char* SPLASH_PATH = "textures/gui/client_splash.png"; +constexpr static std::string_view SPLASH_PATH = "textures/gui/client_splash.png"; static resource_ptr texture; static float texture_aspect; -- cgit