Mercurial > hg > svcore
diff base/Debug.h @ 1042:16dc7307d43a cxx11
More build fixes
author | Chris Cannam |
---|---|
date | Wed, 04 Mar 2015 13:52:48 +0000 |
parents | 0b15c9328003 |
children | c1e43c8d2527 |
line wrap: on
line diff
--- a/base/Debug.h Wed Mar 04 12:30:41 2015 +0000 +++ b/base/Debug.h Wed Mar 04 13:52:48 2015 +0000 @@ -19,7 +19,7 @@ #include <QDebug> #include <QTextStream> -#include <vamp-hostsdk/RealTime.h> +#include "RealTime.h" #include <string> #include <iostream> @@ -41,6 +41,11 @@ #define SVDEBUG getSVDebug() +inline QDebug &operator<<(QDebug &d, const RealTime &rt) { + d << rt.toString(); + return d; +} + inline QDebug &operator<<(QDebug &d, const Vamp::RealTime &rt) { d << rt.toString(); return d;