aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/utfstring.cpp
diff options
context:
space:
mode:
authorMike Buland <mbuland@penny-arcade.com>2023-04-24 10:37:48 -0700
committerMike Buland <mbuland@penny-arcade.com>2023-04-24 10:37:48 -0700
commit944e2b6a9d8ee97c3202ac0403edec234d0bfa31 (patch)
tree28a8383f475f2e2fb8f22de609671cb379603cf3 /src/unstable/utfstring.cpp
parentaf849fa314ad335e14c82a2018ee7d7bea91842a (diff)
downloadlibbu++-944e2b6a9d8ee97c3202ac0403edec234d0bfa31.tar.gz
libbu++-944e2b6a9d8ee97c3202ac0403edec234d0bfa31.tar.bz2
libbu++-944e2b6a9d8ee97c3202ac0403edec234d0bfa31.tar.xz
libbu++-944e2b6a9d8ee97c3202ac0403edec234d0bfa31.zip
More tweaks to make things easier to transition.
Diffstat (limited to 'src/unstable/utfstring.cpp')
-rw-r--r--src/unstable/utfstring.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/unstable/utfstring.cpp b/src/unstable/utfstring.cpp
index 6217f80..13a6046 100644
--- a/src/unstable/utfstring.cpp
+++ b/src/unstable/utfstring.cpp
@@ -729,11 +729,12 @@ bool Bu::UtfString::operator>=( const Bu::UtfString &rhs ) const
729 return false; 729 return false;
730} 730}
731 731
732Bu::Blob Bu::UtfString::get( Encoding eEnc ) const 732Bu::String Bu::UtfString::get( Encoding eEnc ) const
733{ 733{
734 Bu::MemBuf mb; 734 Bu::MemBuf mb;
735 write( mb, eEnc ); 735 write( mb, eEnc );
736 return Bu::Blob( mb.getString().getStr(), mb.getString().getSize() ); 736 //return Bu::Blob( mb.getString().getStr(), mb.getString().getSize() );
737 return Bu::String( mb.getString().getStr(), mb.getString().getSize() );
737} 738}
738 739
739void Bu::UtfString::debug() const 740void Bu::UtfString::debug() const