diff options
author | Bernard Normier <bernard@zeroc.com> | 2016-12-14 11:39:42 -0500 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2016-12-14 11:39:42 -0500 |
commit | 1df8e3f6bd22b0188fdb348606deaff1f6e9bdda (patch) | |
tree | 66de456ca1452e29dadd6862de704c7a60bb7168 /cpp/src/IceUtil/StringUtil.cpp | |
parent | Only use MSI bin with v140 compiler (diff) | |
download | ice-1df8e3f6bd22b0188fdb348606deaff1f6e9bdda.tar.bz2 ice-1df8e3f6bd22b0188fdb348606deaff1f6e9bdda.tar.xz ice-1df8e3f6bd22b0188fdb348606deaff1f6e9bdda.zip |
Fixed a few warnings
Diffstat (limited to 'cpp/src/IceUtil/StringUtil.cpp')
-rw-r--r-- | cpp/src/IceUtil/StringUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceUtil/StringUtil.cpp b/cpp/src/IceUtil/StringUtil.cpp index 84c24da3e03..c59eebecbab 100644 --- a/cpp/src/IceUtil/StringUtil.cpp +++ b/cpp/src/IceUtil/StringUtil.cpp @@ -300,7 +300,7 @@ checkChar(const string& s, string::size_type pos) // Append codePoint as a UTF-8 sequence // void -appendUTF8(unsigned int codePoint, bool inBMP, string& result) +appendUTF8(unsigned int codePoint, string& result) { if(codePoint >= 0xD800 && codePoint <= 0xDFFF) { @@ -458,7 +458,7 @@ decodeChar(const string& s, string::size_type start, string::size_type end, stri "Invalid universal character name: too few hex digits"); } - appendUTF8(codePoint, inBMP, result); + appendUTF8(codePoint, result); if(codePoint > 127) { pureASCII = false; |