lib/icu/CaseFold: pass std::string_view

This commit is contained in:
Max Kellermann
2020-04-03 15:38:26 +02:00
parent 09d8e44d56
commit e620677d7c
5 changed files with 9 additions and 13 deletions

View File

@@ -25,13 +25,12 @@
#if defined(HAVE_ICU) || defined(_WIN32)
#define HAVE_ICU_CASE_FOLD
#include "util/Compiler.h"
#include <string_view>
template<typename T> class AllocatedString;
gcc_nonnull_all
AllocatedString<char>
IcuCaseFold(const char *src) noexcept;
IcuCaseFold(std::string_view src) noexcept;
#endif