Remove deprecated boost/utility.
This is enable compatibility with boost 1.69.
This commit is contained in:
committed by
Automatic Release Builder
parent
b1334bf9a0
commit
e4b58b65f3
@@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#include <simgear/structure/map.hxx>
|
#include <simgear/structure/map.hxx>
|
||||||
#include <boost/iterator/iterator_facade.hpp>
|
#include <boost/iterator/iterator_facade.hpp>
|
||||||
|
#include <boost/core/enable_if.hpp>
|
||||||
|
|
||||||
namespace nasal
|
namespace nasal
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -55,13 +55,14 @@ namespace boost {
|
|||||||
struct disable_if : public disable_if_c<Cond::value, T> {};
|
struct disable_if : public disable_if_c<Cond::value, T> {};
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
# include <boost/utility.hpp>
|
|
||||||
# include <boost/type_traits/is_enum.hpp>
|
# include <boost/type_traits/is_enum.hpp>
|
||||||
|
# include <boost/core/enable_if.hpp>
|
||||||
|
|
||||||
# include <simgear/debug/logstream.hxx>
|
# include <simgear/debug/logstream.hxx>
|
||||||
# include <simgear/math/SGMathFwd.hxx>
|
# include <simgear/math/SGMathFwd.hxx>
|
||||||
# include <simgear/math/sg_types.hxx>
|
# include <simgear/math/sg_types.hxx>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <simgear/structure/SGReferenced.hxx>
|
#include <simgear/structure/SGReferenced.hxx>
|
||||||
#include <simgear/structure/SGSharedPtr.hxx>
|
#include <simgear/structure/SGSharedPtr.hxx>
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
#include "SGSharedPtr.hxx"
|
#include "SGSharedPtr.hxx"
|
||||||
|
|
||||||
#include <boost/type_traits/is_base_of.hpp>
|
#include <boost/type_traits/is_base_of.hpp>
|
||||||
#include <boost/utility/enable_if.hpp>
|
#include <boost/core/enable_if.hpp>
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
# pragma warning(push)
|
# pragma warning(push)
|
||||||
|
|||||||
Reference in New Issue
Block a user