aboutsummaryrefslogtreecommitdiffstats
path: root/common/strutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/strutils.h')
-rw-r--r--common/strutils.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/strutils.h b/common/strutils.h
index 67f057a7..7eee0c1d 100644
--- a/common/strutils.h
+++ b/common/strutils.h
@@ -5,10 +5,11 @@
#include <string>
#ifdef _WIN32
+#include <string_view>
#include <wchar.h>
-std::string wstr_to_utf8(const wchar_t *wstr);
-std::wstring utf8_to_wstr(const char *str);
+std::string wstr_to_utf8(std::wstring_view wstr);
+std::wstring utf8_to_wstr(std::string_view str);
#endif
namespace al {