diff options
Diffstat (limited to 'libs/pbd/pbd/transmitter.h')
-rw-r--r-- | libs/pbd/pbd/transmitter.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/libs/pbd/pbd/transmitter.h b/libs/pbd/pbd/transmitter.h index 61ac9bd8d8..6da521dd26 100644 --- a/libs/pbd/pbd/transmitter.h +++ b/libs/pbd/pbd/transmitter.h @@ -25,10 +25,6 @@ #include <sigc++/sigc++.h> -using std::cout; -using std::cerr; -using std::endl; - class Transmitter : public std::stringstream { @@ -82,11 +78,11 @@ endmsg (std::ostream &ostr) see if ostr == cout, and handle it specially. */ - if (&ostr == &cout) { - cout << endl; + if (&ostr == &std::cout) { + std::cout << std::endl; return ostr; - } else if (&ostr == &cerr) { - cerr << endl; + } else if (&ostr == &std::cerr) { + std::cerr << std::endl; return ostr; } @@ -97,7 +93,7 @@ endmsg (std::ostream &ostr) it and assume that that will be enough. */ - ostr << endl; + ostr << std::endl; } return ostr; |