aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/utfstring.cpp
diff options
context:
space:
mode:
authorMike Buland <mbuland@penny-arcade.com>2023-04-24 13:50:19 -0700
committerMike Buland <mbuland@penny-arcade.com>2023-04-24 13:50:19 -0700
commita655bb28194bcea9efc2550d9c41c422c05ce762 (patch)
tree427a185bb801fa958f0befccf1db527ce38c3c7c /src/unstable/utfstring.cpp
parent944e2b6a9d8ee97c3202ac0403edec234d0bfa31 (diff)
downloadlibbu++-a655bb28194bcea9efc2550d9c41c422c05ce762.tar.gz
libbu++-a655bb28194bcea9efc2550d9c41c422c05ce762.tar.bz2
libbu++-a655bb28194bcea9efc2550d9c41c422c05ce762.tar.xz
libbu++-a655bb28194bcea9efc2550d9c41c422c05ce762.zip
Fixed infinite recursion constructing UtfString
Diffstat (limited to 'src/unstable/utfstring.cpp')
-rw-r--r--src/unstable/utfstring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unstable/utfstring.cpp b/src/unstable/utfstring.cpp
index 13a6046..9b712c9 100644
--- a/src/unstable/utfstring.cpp
+++ b/src/unstable/utfstring.cpp
@@ -63,7 +63,7 @@ Bu::UtfString::const_iterator Bu::UtfString::begin() const
63 63
64void Bu::UtfString::set( const Bu::String &sInput, Encoding eEnc ) 64void Bu::UtfString::set( const Bu::String &sInput, Encoding eEnc )
65{ 65{
66 set( sInput, eEnc ); 66 set( Bu::Blob( sInput.getData(), sInput.getSize() ), eEnc );
67} 67}
68 68
69void Bu::UtfString::set( const Bu::Blob &sInput, Encoding eEnc ) 69void Bu::UtfString::set( const Bu::Blob &sInput, Encoding eEnc )