diff options
author | 2022-09-14 13:02:30 -0400 | |
---|---|---|
committer | 2022-09-15 03:02:30 +1000 | |
commit | 3737b424d6c8ef4fb3ea393e9407361a7e095d94 (patch) | |
tree | 732c524436f789780bec41c832e33e2cc99ac3ef /src/lib/util/corestr.h | |
parent | 81e5abf05222ce96c70ea29e9ffed3922afcc811 (diff) |
util/corestr.cpp: Changed core_stricmp to take std::string_view parameters. (#10287)
Note that the implementation is still not UTF-8 aware.
Diffstat (limited to 'src/lib/util/corestr.h')
-rw-r--r-- | src/lib/util/corestr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/corestr.h b/src/lib/util/corestr.h index b000d76731c..d23609a20c1 100644 --- a/src/lib/util/corestr.h +++ b/src/lib/util/corestr.h @@ -25,7 +25,7 @@ ***************************************************************************/ /* since stricmp is not part of the standard, we use this instead */ -int core_stricmp(const char *s1, const char *s2); +int core_stricmp(std::string_view s1, std::string_view s2); /* this macro prevents people from using stricmp directly */ #undef stricmp |