Make mock::object::~object() virtual

This commit is contained in:
Dominik Schmidt 2018-05-17 10:46:03 +02:00
parent d7b1ad0800
commit e552b0eb7f

View file

@ -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_;