From a655bb28194bcea9efc2550d9c41c422c05ce762 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 24 Apr 2023 13:50:19 -0700 Subject: Fixed infinite recursion constructing UtfString --- src/unstable/utfstring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unstable/utfstring.cpp') 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 void Bu::UtfString::set( const Bu::String &sInput, Encoding eEnc ) { - set( sInput, eEnc ); + set( Bu::Blob( sInput.getData(), sInput.getSize() ), eEnc ); } void Bu::UtfString::set( const Bu::Blob &sInput, Encoding eEnc ) -- cgit v1.2.3