mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
namespace ostream into std::ostream for modern C++
This commit is contained in:
parent
4e71617973
commit
167fd854e1
1 changed files with 8 additions and 0 deletions
|
@ -564,11 +564,19 @@ char * q = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(linux)
|
||||||
|
std::ostream & operator<<
|
||||||
|
(
|
||||||
|
std::ostream & os,
|
||||||
|
const CString & s
|
||||||
|
)
|
||||||
|
#else
|
||||||
ostream & operator<<
|
ostream & operator<<
|
||||||
(
|
(
|
||||||
ostream & os,
|
ostream & os,
|
||||||
const CString & s
|
const CString & s
|
||||||
)
|
)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
if (s.isNull())
|
if (s.isNull())
|
||||||
return os << "(null)";
|
return os << "(null)";
|
||||||
|
|
Loading…
Reference in a new issue