mirror of
https://github.com/OPM/opm-upscaling.git
synced 2025-02-25 18:45:23 -06:00
quell boost deprecation warning with boost >= 1.71
This commit is contained in:
parent
79cf1839da
commit
30e9ab8169
@ -49,7 +49,12 @@
|
||||
#include <utility>
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <boost/version.hpp>
|
||||
#if BOOST_VERSION / 100000 == 1 && BOOST_VERSION / 100 % 1000 < 71
|
||||
#include <boost/test/floating_point_comparison.hpp>
|
||||
#else
|
||||
#include <boost/test/tools/floating_point_comparison.hpp>
|
||||
#endif
|
||||
|
||||
namespace { // Case utilities
|
||||
namespace GridInput {
|
||||
|
Loading…
Reference in New Issue
Block a user