mirror of
https://github.com/SFML/SFML.git
synced 2024-12-11 12:39:15 +08:00
Fixed stupid compile error in previous commit
This commit is contained in:
parent
a89874f733
commit
c6651bfd30
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user