quell deprecation warnings with boost 1.71

This commit is contained in:
Arne Morten Kvarving
2020-04-30 09:47:45 +02:00
parent c8754551aa
commit e3a0137dd1
3 changed files with 15 additions and 0 deletions

View File

@@ -26,7 +26,12 @@
#include <opm/common/utility/platform_dependent/disable_warnings.h>
#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
#include <opm/common/utility/platform_dependent/reenable_warnings.h>
#include <opm/common/OpmLog/OpmLog.hpp>
#include <opm/common/OpmLog/CounterLog.hpp>