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/message_box.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'game/client/gui/message_box.hh') diff --git a/game/client/gui/message_box.hh b/game/client/gui/message_box.hh index c5545fc..a906744 100644 --- a/game/client/gui/message_box.hh +++ b/game/client/gui/message_box.hh @@ -16,9 +16,9 @@ void reset(void); namespace gui::message_box { -void set_title(const char* title); -void set_subtitle(const char* subtitle); -void add_button(const char* text, const message_box_action& action); +void set_title(std::string_view title); +void set_subtitle(std::string_view subtitle); +void add_button(std::string_view text, const message_box_action& action); } // namespace gui::message_box #endif // CLIENT_MESSAGE_BOX_HH -- cgit