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/bother.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/client/gui/bother.hh') diff --git a/game/client/gui/bother.hh b/game/client/gui/bother.hh index c10bf8a..f555d74 100644 --- a/game/client/gui/bother.hh +++ b/game/client/gui/bother.hh @@ -19,7 +19,7 @@ namespace gui::bother void init(void); void shutdown(void); void update_late(void); -void ping(unsigned int identity, const char* host, std::uint16_t port); +void ping(unsigned int identity, std::string_view host, std::uint16_t port); void cancel(unsigned int identity); } // namespace gui::bother -- cgit