From e552b0eb7f2707aa7b44e911a29096e18f081648 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Thu, 17 May 2018 10:46:03 +0200 Subject: [PATCH] Make mock::object::~object() virtual --- include/turtle/object.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_;