test/time_measure_test.cc
branch1.1
changeset 1158 8d2e55fac752
parent 605 f53d641aa967
child 1257 3e711ee55d31
     1.1 --- a/test/time_measure_test.cc	Wed Sep 12 17:51:20 2012 +0200
     1.2 +++ b/test/time_measure_test.cc	Thu Sep 13 11:52:50 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()