aboutsummaryrefslogtreecommitdiff
path: root/dep/utf8cpp/utf8/cpp17.h
diff options
context:
space:
mode:
Diffstat (limited to 'dep/utf8cpp/utf8/cpp17.h')
-rw-r--r--dep/utf8cpp/utf8/cpp17.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/dep/utf8cpp/utf8/cpp17.h b/dep/utf8cpp/utf8/cpp17.h
index 32a77ce3075..075873003ef 100644
--- a/dep/utf8cpp/utf8/cpp17.h
+++ b/dep/utf8cpp/utf8/cpp17.h
@@ -28,17 +28,10 @@ DEALINGS IN THE SOFTWARE.
#ifndef UTF8_FOR_CPP_7e906c01_03a3_4daf_b420_ea7ea952b3c9
#define UTF8_FOR_CPP_7e906c01_03a3_4daf_b420_ea7ea952b3c9
-#include "checked.h"
-#include <string>
+#include "cpp11.h"
namespace utf8
{
-
- inline void append(char32_t cp, std::string& s)
- {
- append(uint32_t(cp), std::back_inserter(s));
- }
-
inline std::string utf16to8(std::u16string_view s)
{
std::string result;
@@ -96,7 +89,7 @@ namespace utf8
{
return starts_with_bom(s.begin(), s.end());
}
-
+
} // namespace utf8
#endif // header guard