Mercurial > hg > svcore
diff base/Debug.h @ 843:e802e550a1f2
Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 13:35:08 +0000 |
parents | 1424aa29ae95 |
children | 0b15c9328003 |
line wrap: on
line diff
--- a/base/Debug.h Tue Nov 26 11:16:37 2013 +0000 +++ b/base/Debug.h Tue Nov 26 13:35:08 2013 +0000 @@ -18,6 +18,7 @@ #include <QDebug> #include <QTextStream> + #include <string> #include <iostream> @@ -28,6 +29,10 @@ std::ostream &operator<<(std::ostream &, const QString &); std::ostream &operator<<(std::ostream &, const QUrl &); +using std::cout; +using std::cerr; +using std::endl; + #ifndef NDEBUG extern QDebug &getSVDebug();