changeset 1162 | 404b98971e1f |
parent 605 | f53d641aa967 |
child 1257 | 3e711ee55d31 |
1.1 --- a/test/time_measure_test.cc Wed Sep 12 17:34:01 2012 +0200 1.2 +++ b/test/time_measure_test.cc Thu Sep 13 12:13:19 2012 +0200 1.3 @@ -17,6 +17,7 @@ 1.4 */ 1.5 1.6 #include <lemon/time_measure.h> 1.7 +#include <lemon/concept_check.h> 1.8 1.9 using namespace lemon; 1.10 1.11 @@ -32,7 +33,10 @@ 1.12 static Timer T; 1.13 1.14 for(int i=0;i<1000;i++) 1.15 - TimeStamp x(T); 1.16 + { 1.17 + TimeStamp x(T); 1.18 + ignore_unused_variable_warning(x); 1.19 + } 1.20 } 1.21 1.22 int main()