changeset 1355:1a7687631136 3.0-integration

Fix inadequate #if guard for non-gcc builds
author Chris Cannam
date Mon, 09 Jan 2017 16:31:57 +0000
parents 97deefd38060
children 39ce813e185c
files base/test/TestVampRealTime.h
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/base/test/TestVampRealTime.h	Mon Jan 09 13:51:39 2017 +0000
+++ b/base/test/TestVampRealTime.h	Mon Jan 09 16:31:57 2017 +0000
@@ -32,7 +32,10 @@
     Q_OBJECT
 
     void compareTexts(string s, const char *e) {
-        QCOMPARE(QString(s.c_str()), QString(e));
+        cerr << "string obtained: \"" << s << "\"" << endl;
+        QString actual(s.c_str());
+        QString expected(e);
+        QCOMPARE(actual, expected);
     }
 
     typedef Vamp::RealTime RealTime;