Remove deprecated boost/utility.

This is enable compatibility with boost 1.69.
This commit is contained in:
Scott Giese
2020-06-29 09:41:24 +01:00
committed by Automatic Release Builder
parent b1334bf9a0
commit e4b58b65f3
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -24,6 +24,7 @@
#include <simgear/structure/map.hxx>
#include <boost/iterator/iterator_facade.hpp>
#include <boost/core/enable_if.hpp>
namespace nasal
{
+2 -1
View File
@@ -55,13 +55,14 @@ namespace boost {
struct disable_if : public disable_if_c<Cond::value, T> {};
}
#else
# include <boost/utility.hpp>
# include <boost/type_traits/is_enum.hpp>
# include <boost/core/enable_if.hpp>
# include <simgear/debug/logstream.hxx>
# include <simgear/math/SGMathFwd.hxx>
# include <simgear/math/sg_types.hxx>
#endif
#include <simgear/structure/SGReferenced.hxx>
#include <simgear/structure/SGSharedPtr.hxx>
+1 -1
View File
@@ -22,7 +22,7 @@
#include "SGSharedPtr.hxx"
#include <boost/type_traits/is_base_of.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/core/enable_if.hpp>
#ifdef _MSC_VER
# pragma warning(push)