Fixed stupid compile error in previous commit

This commit is contained in:
Laurent Gomila 2013-08-24 23:40:48 +02:00
parent a89874f733
commit c6651bfd30

View File

@ -25,7 +25,7 @@
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
template <typename T> template <typename T>
static String String::fromUtf8(T begin, T end) String String::fromUtf8(T begin, T end)
{ {
String string; String string;
Utf8::toUtf32(begin, end, std::back_inserter(string.m_string)); Utf8::toUtf32(begin, end, std::back_inserter(string.m_string));
@ -35,7 +35,7 @@ static String String::fromUtf8(T begin, T end)
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
template <typename T> template <typename T>
static String String::fromUtf16(T begin, T end) String String::fromUtf16(T begin, T end)
{ {
String string; String string;
Utf16::toUtf32(begin, end, std::back_inserter(string.m_string)); Utf16::toUtf32(begin, end, std::back_inserter(string.m_string));
@ -45,7 +45,7 @@ static String String::fromUtf16(T begin, T end)
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
template <typename T> template <typename T>
static String String::fromUtf32(T begin, T end) String String::fromUtf32(T begin, T end)
{ {
String string; String string;
string.m_string.assign(begin, end); string.m_string.assign(begin, end);