make an optional bool param for ustring's default constructor
This commit is contained in:
parent
a8e98570cc
commit
0f7e3be6b6
2 changed files with 3 additions and 2 deletions
|
@ -111,7 +111,8 @@ ustring::size_type utf8_byte_offset(const char* str, ustring::size_type offset,
|
|||
|
||||
// ustring methods
|
||||
|
||||
ustring::ustring()
|
||||
ustring::ustring(bool utf8)
|
||||
: _utf8(utf8)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -117,7 +117,7 @@ public:
|
|||
|
||||
static const size_type npos = std::string::npos;
|
||||
|
||||
ustring();
|
||||
ustring(bool utf8 = true);
|
||||
~ustring();
|
||||
|
||||
// make new strings
|
||||
|
|
Loading…
Reference in a new issue