Include <boost/version.hpp> before the macro BOOST_VERSION is checked

This commit is contained in:
Lisa Julia Nebel 2024-07-16 16:17:31 +02:00
parent 653cb28bc2
commit 371fbdfc03

View File

@ -23,9 +23,10 @@
#include <opm/common/ErrorMacros.hpp>
#include <opm/common/OpmLog/OpmLog.hpp>
#include <boost/version.hpp>
#if BOOST_VERSION / 100 % 1000 > 48
#include <boost/property_tree/json_parser.hpp>
#include <boost/version.hpp>
#endif
#include <filesystem>