diff --git a/include/turtle/object.hpp b/include/turtle/object.hpp index d201757..1bfff75 100644 --- a/include/turtle/object.hpp +++ b/include/turtle/object.hpp @@ -51,7 +51,7 @@ namespace detail : impl_( boost::make_shared< detail::object_impl >() ) {} protected: - ~object() + virtual ~object() {} public: boost::shared_ptr< detail::object_impl > impl_;