# HG changeset patch # User Chris Cannam # Date 1389303813 0 # Node ID 0b15c9328003255e8afff5a1d9276860105a1bc6 # Parent 284851a784fa98ddda2db80f96d735c385e367c3 Debug out operator for real time diff -r 284851a784fa -r 0b15c9328003 base/Debug.h --- a/base/Debug.h Thu Jan 09 21:30:33 2014 +0000 +++ b/base/Debug.h Thu Jan 09 21:43:33 2014 +0000 @@ -19,6 +19,8 @@ #include #include +#include + #include #include @@ -39,6 +41,11 @@ #define SVDEBUG getSVDebug() +inline QDebug &operator<<(QDebug &d, const Vamp::RealTime &rt) { + d << rt.toString(); + return d; +} + template inline QDebug &operator<<(QDebug &d, const T &t) { QString s;