mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 11:42:21 +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 & os,
|
||||
const CString & s
|
||||
)
|
||||
#endif
|
||||
{
|
||||
if (s.isNull())
|
||||
return os << "(null)";
|
||||
|
|
Loading…
Reference in a new issue