Kaydet (Commit) 585ae2a0 authored tarafından Luboš Luňák's avatar Luboš Luňák

ostream/OString operator<< no longer needed

Change-Id: I223a9088a3465a51ea44ef28ac604f3d864f933c
üst 57369e6a
...@@ -40,18 +40,6 @@ bool rtl_string_unittest_non_const_literal_function; ...@@ -40,18 +40,6 @@ bool rtl_string_unittest_non_const_literal_function;
#include "rtl/string.hxx" #include "rtl/string.hxx"
#include "rtl/strbuf.hxx" #include "rtl/strbuf.hxx"
namespace rtlunittest {
template< typename charT, typename traits > std::basic_ostream<charT, traits> &
operator <<(
std::basic_ostream<charT, traits> & stream, rtl::OString const & string)
{
return stream << string.getStr();
// best effort; potentially loses data due to embedded null characters
}
}
namespace test { namespace ostring { namespace test { namespace ostring {
class StringLiterals: public CppUnit::TestFixture class StringLiterals: public CppUnit::TestFixture
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment