diff options
-rw-r--r-- | raul/SharedPtr.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/raul/SharedPtr.h b/raul/SharedPtr.h index c6e72a1..89600a9 100644 --- a/raul/SharedPtr.h +++ b/raul/SharedPtr.h @@ -51,6 +51,11 @@ namespace boost { #include <boost/shared_ptr.hpp> +#ifdef BOOST_AC_USE_PTHREADS +#error "Boost is using mutex locking for pointer reference counting." +#error "This is VERY slow. Please report your platform." +#endif + #define SharedPtr boost::shared_ptr #define PtrCast boost::dynamic_pointer_cast |