X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fpbd%2Ftransmitter.h;h=6da521dd263762df0c8eee431ed197daa7db66dd;hb=7a6e86c9f9bef8db74b755db659794c4a859f36d;hp=61ac9bd8d84463452ab994d251f03022f24d557f;hpb=6edccc3070b813157ffcd4014ec8dd7fa6ed9ce7;p=ardour.git 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 -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;