From e3a0137dd170a970a9a81cd5adeea5f056c30c51 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Thu, 30 Apr 2020 09:47:45 +0200 Subject: [PATCH] quell deprecation warnings with boost 1.71 --- tests/test_milu.cpp | 5 +++++ tests/test_norne_pvt.cpp | 5 +++++ tests/test_relpermdiagnostics.cpp | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/tests/test_milu.cpp b/tests/test_milu.cpp index 90415c1b5..d6ff84a93 100644 --- a/tests/test_milu.cpp +++ b/tests/test_milu.cpp @@ -12,7 +12,12 @@ #include #include +#include +#if BOOST_VERSION / 100000 == 1 && BOOST_VERSION / 100 % 1000 < 71 #include +#else +#include +#endif template void test_milu0(M& A) diff --git a/tests/test_norne_pvt.cpp b/tests/test_norne_pvt.cpp index 405100451..f37304483 100644 --- a/tests/test_norne_pvt.cpp +++ b/tests/test_norne_pvt.cpp @@ -23,7 +23,12 @@ #include #include +#include +#if BOOST_VERSION / 100000 == 1 && BOOST_VERSION / 100 % 1000 < 71 #include +#else +#include +#endif #include #include diff --git a/tests/test_relpermdiagnostics.cpp b/tests/test_relpermdiagnostics.cpp index d74e77b2a..abb4a8297 100644 --- a/tests/test_relpermdiagnostics.cpp +++ b/tests/test_relpermdiagnostics.cpp @@ -26,7 +26,12 @@ #include #include +#include +#if BOOST_VERSION / 100000 == 1 && BOOST_VERSION / 100 % 1000 < 71 #include +#else +#include +#endif #include #include #include