From a7207b7d8367af47ddb7e2733cb963148fd0379f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 16 Jan 2003 05:21:39 +0000 Subject: make an optional bool param for ustring's other constructors --- otk/ustring.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'otk/ustring.cc') diff --git a/otk/ustring.cc b/otk/ustring.cc index b6432d44..7ac89bf7 100644 --- a/otk/ustring.cc +++ b/otk/ustring.cc @@ -132,13 +132,13 @@ ustring& ustring::operator=(const ustring& other) return *this; } -ustring::ustring(const std::string& src) - : _string(src), _utf8(true) +ustring::ustring(const std::string& src, bool utf8) + : _string(src), _utf8(utf8) { } -ustring::ustring(const char* src) - : _string(src), _utf8(true) +ustring::ustring(const char* src, bool utf8) + : _string(src), _utf8(utf8) { } -- cgit v1.2.3