From: Thomas Geymayer Date: Tue, 3 Jun 2014 18:34:21 +0000 (+0200) Subject: Fix for old versions of Boost. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7080f919e97b4343703de664ed0c888634d9f3a9;p=simgear.git Fix for old versions of Boost. No support for BOOST_STATIC_ASSERT_MSG before Boost 1.46. --- diff --git a/simgear/nasal/cppbind/Ghost.hxx b/simgear/nasal/cppbind/Ghost.hxx index 3cefc8de..42077e18 100644 --- a/simgear/nasal/cppbind/Ghost.hxx +++ b/simgear/nasal/cppbind/Ghost.hxx @@ -232,10 +232,8 @@ namespace nasal class Ghost: public internal::GhostMetadata { - BOOST_STATIC_ASSERT_MSG( - (shared_ptr_traits::is_strong::value), - "Shared pointer required for Ghost! (no weak pointer!)" - ); + // Shared pointer required for Ghost (no weak pointer!) + BOOST_STATIC_ASSERT((shared_ptr_traits::is_strong::value)); public: typedef typename T::element_type raw_type;