diff options
author | Mattes D <github@xoft.cz> | 2015-10-02 17:43:00 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-10-02 17:43:00 +0200 |
commit | c8019856973e0dbca9f1925bb4f163954250869e (patch) | |
tree | f229227672d60a983213f8d1ba8ff5981086ca80 /src/StringUtils.h | |
parent | Merge pull request #2511 from cuberite/BottomLayerSpawn (diff) | |
parent | Improved types of utf 16 strings (diff) | |
download | cuberite-c8019856973e0dbca9f1925bb4f163954250869e.tar cuberite-c8019856973e0dbca9f1925bb4f163954250869e.tar.gz cuberite-c8019856973e0dbca9f1925bb4f163954250869e.tar.bz2 cuberite-c8019856973e0dbca9f1925bb4f163954250869e.tar.lz cuberite-c8019856973e0dbca9f1925bb4f163954250869e.tar.xz cuberite-c8019856973e0dbca9f1925bb4f163954250869e.tar.zst cuberite-c8019856973e0dbca9f1925bb4f163954250869e.zip |
Diffstat (limited to 'src/StringUtils.h')
-rw-r--r-- | src/StringUtils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StringUtils.h b/src/StringUtils.h index f2a9e372b..00504d358 100644 --- a/src/StringUtils.h +++ b/src/StringUtils.h @@ -82,7 +82,7 @@ extern void ReplaceString(AString & iHayStack, const AString & iNeedle, const AS extern AString & RawBEToUTF8(const char * a_RawData, size_t a_NumShorts, AString & a_UTF8); /** Converts a UTF-8 string into a UTF-16 BE string. */ -extern AString UTF8ToRawBEUTF16(const char * a_UTF8, size_t a_UTF8Length); +extern std::u16string UTF8ToRawBEUTF16(const AString & a_String); /** Creates a nicely formatted HEX dump of the given memory block. Max a_BytesPerLine is 120. */ |