Mercurial > hg > svcore
diff base/test/TestColumnOp.h @ 1269:f50c0bbe9096 3.0-integration
Don't show this log by default
author | Chris Cannam |
---|---|
date | Fri, 18 Nov 2016 23:30:15 +0000 |
parents | 1d8418cca63a |
children | 7cff8367d9b1 |
line wrap: on
line diff
--- a/base/test/TestColumnOp.h Fri Nov 18 12:53:21 2016 +0000 +++ b/base/test/TestColumnOp.h Fri Nov 18 23:30:15 2016 +0000 @@ -33,6 +33,7 @@ typedef ColumnOp::Column Column; typedef vector<double> BinMapping; +#ifdef REPORT template <typename T> void report(vector<T> v) { cerr << "Vector is: [ "; @@ -42,6 +43,10 @@ } cerr << " ]\n"; } +#else + template <typename T> + void report(vector<T> ) { } +#endif private slots: void applyGain() {