add explicit stream operator
This commit is contained in:
parent
673c4f29ff
commit
5e25f9be4e
1 changed files with 5 additions and 0 deletions
|
@ -50,6 +50,11 @@ struct CheckFailed {
|
|||
rtl::OUString message;
|
||||
};
|
||||
|
||||
::std::ostream& operator<< (::std::ostream& os, const ::rtl::OUString& str)
|
||||
{
|
||||
return os << ::rtl::OUStringToOString(str, RTL_TEXTENCODING_UTF8).getStr();
|
||||
}
|
||||
|
||||
template< typename T > void checkEqual(T const & value, T const & argument) {
|
||||
if (argument != value) {
|
||||
std::ostringstream s;
|
||||
|
|
Loading…
Reference in a new issue