mirror of https://github.com/CGAL/cgal
ImageIO: Use CGAL_USE to avoid warning
This commit is contained in:
parent
fb764adef8
commit
db10b7afde
|
|
@ -2,6 +2,7 @@
|
||||||
#include <CGAL/Image_3.h>
|
#include <CGAL/Image_3.h>
|
||||||
#include <CGAL/Random.h>
|
#include <CGAL/Random.h>
|
||||||
#include <CGAL/Timer.h>
|
#include <CGAL/Timer.h>
|
||||||
|
#include <CGAL/use.h>
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
@ -183,6 +184,7 @@ int main() {
|
||||||
0.f);
|
0.f);
|
||||||
}
|
}
|
||||||
timer_old_implementation.stop();
|
timer_old_implementation.stop();
|
||||||
|
CGAL_USE(sum);
|
||||||
}
|
}
|
||||||
std::cerr << "max difference = " << max_diff << "\n"
|
std::cerr << "max difference = " << max_diff << "\n"
|
||||||
<< "timer new implementation: " << timer_new_implementation.time()
|
<< "timer new implementation: " << timer_new_implementation.time()
|
||||||
|
|
@ -253,5 +255,3 @@ int main() {
|
||||||
}
|
}
|
||||||
std::cerr << counter << " tests. OK.";
|
std::cerr << counter << " tests. OK.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue