summaryrefslogtreecommitdiffstats
path: root/src/StringUtils.h
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-09-29 17:08:40 +0200
committerMattes D <github@xoft.cz>2015-10-02 17:26:53 +0200
commite1d5e5e165b3881eacf955d18cf3b2babd5a6113 (patch)
treef229227672d60a983213f8d1ba8ff5981086ca80 /src/StringUtils.h
parentRemove a pair of unused broken functions (diff)
downloadcuberite-e1d5e5e165b3881eacf955d18cf3b2babd5a6113.tar
cuberite-e1d5e5e165b3881eacf955d18cf3b2babd5a6113.tar.gz
cuberite-e1d5e5e165b3881eacf955d18cf3b2babd5a6113.tar.bz2
cuberite-e1d5e5e165b3881eacf955d18cf3b2babd5a6113.tar.lz
cuberite-e1d5e5e165b3881eacf955d18cf3b2babd5a6113.tar.xz
cuberite-e1d5e5e165b3881eacf955d18cf3b2babd5a6113.tar.zst
cuberite-e1d5e5e165b3881eacf955d18cf3b2babd5a6113.zip
Diffstat (limited to '')
-rw-r--r--src/StringUtils.h2
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. */