Mercurial > hg > svcore
changeset 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 | b7b84ae5f0a7 |
children | bac86d3fc6c9 604f369c247a |
files | base/test/TestColumnOp.h |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
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() {