BoostWorkaround/shared_array and shared_ptr: fix checks for whether the boost originals are included already. Fixes #277
parent
a5e179edf5
commit
908b945f50
|
@ -2,7 +2,7 @@
|
||||||
#ifndef INCLUDED_AI_BOOST_SHARED_ARRAY
|
#ifndef INCLUDED_AI_BOOST_SHARED_ARRAY
|
||||||
#define INCLUDED_AI_BOOST_SHARED_ARRAY
|
#define INCLUDED_AI_BOOST_SHARED_ARRAY
|
||||||
|
|
||||||
#ifndef BOOST_SCOPED_ARRAY_HPP_INCLUDED
|
#ifndef BOOST_SHARED_ARRAY_HPP_INCLUDED
|
||||||
|
|
||||||
// ------------------------------
|
// ------------------------------
|
||||||
// Internal stub
|
// Internal stub
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#ifndef INCLUDED_AI_BOOST_SHARED_PTR
|
#ifndef INCLUDED_AI_BOOST_SHARED_PTR
|
||||||
#define INCLUDED_AI_BOOST_SHARED_PTR
|
#define INCLUDED_AI_BOOST_SHARED_PTR
|
||||||
|
|
||||||
#ifndef BOOST_SCOPED_PTR_HPP_INCLUDED
|
#ifndef BOOST_SHARED_PTR_HPP_INCLUDED
|
||||||
|
|
||||||
// ------------------------------
|
// ------------------------------
|
||||||
// Internal stub
|
// Internal stub
|
||||||
|
@ -254,4 +254,4 @@ inline shared_ptr<T> const_pointer_cast( shared_ptr<U> ptr)
|
||||||
#else
|
#else
|
||||||
# error "shared_ptr.h was already included"
|
# error "shared_ptr.h was already included"
|
||||||
#endif
|
#endif
|
||||||
#endif // INCLUDED_AI_BOOST_SCOPED_PTR
|
#endif // INCLUDED_AI_BOOST_SHARED_PTR
|
||||||
|
|
Loading…
Reference in New Issue