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/progress_bar.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'game/client/gui/progress_bar.hh') diff --git a/game/client/gui/progress_bar.hh b/game/client/gui/progress_bar.hh index 3765543..79fdcb5 100644 --- a/game/client/gui/progress_bar.hh +++ b/game/client/gui/progress_bar.hh @@ -16,8 +16,8 @@ void layout(void); namespace gui::progress_bar { void reset(void); -void set_title(const char* title); -void set_button(const char* text, const progress_bar_action& action); +void set_title(std::string_view title); +void set_button(std::string_view text, const progress_bar_action& action); } // namespace gui::progress_bar #endif // CLIENT_PROGRESS_BAR_HH -- cgit