comparison 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
comparison
equal deleted inserted replaced
842:23d3a6eca5c3 843:e802e550a1f2
16 #ifndef _DEBUG_H_ 16 #ifndef _DEBUG_H_
17 #define _DEBUG_H_ 17 #define _DEBUG_H_
18 18
19 #include <QDebug> 19 #include <QDebug>
20 #include <QTextStream> 20 #include <QTextStream>
21
21 #include <string> 22 #include <string>
22 #include <iostream> 23 #include <iostream>
23 24
24 class QString; 25 class QString;
25 class QUrl; 26 class QUrl;
26 27
27 QDebug &operator<<(QDebug &, const std::string &); 28 QDebug &operator<<(QDebug &, const std::string &);
28 std::ostream &operator<<(std::ostream &, const QString &); 29 std::ostream &operator<<(std::ostream &, const QString &);
29 std::ostream &operator<<(std::ostream &, const QUrl &); 30 std::ostream &operator<<(std::ostream &, const QUrl &);
31
32 using std::cout;
33 using std::cerr;
34 using std::endl;
30 35
31 #ifndef NDEBUG 36 #ifndef NDEBUG
32 37
33 extern QDebug &getSVDebug(); 38 extern QDebug &getSVDebug();
34 39