Kaydet (Commit) 6380964c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

MutexContainer is only used mixin-style in derived classes

...no need for virtual dtor

Change-Id: I843e4bbb8bab3ed1eec55be2b937617175911162
Reviewed-on: https://gerrit.libreoffice.org/72049
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst db9fecd3
......@@ -27,10 +27,11 @@ namespace chart
class OOO_DLLPUBLIC_CHARTTOOLS MutexContainer
{
public:
virtual ~MutexContainer();
protected:
MutexContainer() = default;
~MutexContainer() = default;
mutable ::osl::Mutex m_aMutex;
::osl::Mutex & GetMutex() const;
......
......@@ -22,9 +22,6 @@
namespace chart
{
MutexContainer::~MutexContainer()
{}
::osl::Mutex & MutexContainer::GetMutex() const
{
return m_aMutex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment