--- boost/smart_ptr/make_shared.hpp Thu Oct 18 08:57:48 2012 +++ boost/smart_ptr/make_shared.hpp.patched Wed Jun 12 11:33:24 2013 @@ -16,6 +16,7 @@ #include #include #include +#include #include #include @@ -57,7 +58,7 @@ #else - reinterpret_cast< T* >( storage_.data_ )->~T(); + reinterpret_cast< boost::remove_const::type* >( storage_.data_ )->~T(); #endif