diff --git a/test/flex_string/main.cpp b/test/flex_string/main.cpp index 0c775b8..c7c21a3 100644 --- a/test/flex_string/main.cpp +++ b/test/flex_string/main.cpp @@ -208,10 +208,7 @@ String Num2String(typename String::size_type value) { if(String::npos != value) { - typedef typename String::value_type CharType; - std::basic_ostringstream, std::allocator > stream; - stream << OpenCurlyString() << value << CloseCurlyString(); - return stream.str().c_str(); + return Num2String(value); } else {