make an optional bool param for ustring's default constructor
Dana Jansens danakj@orodu.net
2 files changed,
3 insertions(+),
2 deletions(-)
M
otk/ustring.cc
→
otk/ustring.cc
@@ -111,7 +111,8 @@
// ustring methods -ustring::ustring() +ustring::ustring(bool utf8) + : _utf8(utf8) { }
M
otk/ustring.hh
→
otk/ustring.hh
@@ -117,7 +117,7 @@ //typedef ustring_Iterator<std::string::const_iterator> const_iterator;
static const size_type npos = std::string::npos; - ustring(); + ustring(bool utf8 = true); ~ustring(); // make new strings