projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manually merge new CrossThreadChannel implementation for windows from Tracks
[ardour.git]
/
libs
/
pbd
/
pbd
/
transmitter.h
diff --git
a/libs/pbd/pbd/transmitter.h
b/libs/pbd/pbd/transmitter.h
index 61ac9bd8d84463452ab994d251f03022f24d557f..d77fca8da32a4c67f38fdf4420cb127b6a824a21 100644
(file)
--- a/
libs/pbd/pbd/transmitter.h
+++ b/
libs/pbd/pbd/transmitter.h
@@
-25,11
+25,9
@@
#include <sigc++/sigc++.h>
#include <sigc++/sigc++.h>
-using std::cout;
-using std::cerr;
-using std::endl;
+#include "pbd/libpbd_visibility.h"
-class Transmitter : public std::stringstream
+class
LIBPBD_API
Transmitter : public std::stringstream
{
public:
{
public:
@@
-82,11
+80,11
@@
endmsg (std::ostream &ostr)
see if ostr == cout, and handle it specially.
*/
see if ostr == cout, and handle it specially.
*/
- if (&ostr == &cout) {
-
cout <<
endl;
+ if (&ostr == &
std::
cout) {
+
std::cout << std::
endl;
return ostr;
return ostr;
- } else if (&ostr == &cerr) {
-
cerr <<
endl;
+ } else if (&ostr == &
std::
cerr) {
+
std::cerr << std::
endl;
return ostr;
}
return ostr;
}
@@
-97,13
+95,13
@@
endmsg (std::ostream &ostr)
it and assume that that will be enough.
*/
it and assume that that will be enough.
*/
- ostr << endl;
+ ostr <<
std::
endl;
}
return ostr;
}
}
return ostr;
}
-extern "C" { void pbd_c_error (const char *); }
+extern "C" {
LIBPBD_API
void pbd_c_error (const char *); }
#endif // __libmisc_transmitter_h__
#endif // __libmisc_transmitter_h__