tdf#89329: use unique_ptr for pImpl in tubes/manager
Change-Id: Ic70883b58c9b3a0b56e6c07594a2758e04e7f5ee Reviewed-on: https://gerrit.libreoffice.org/35767 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
This commit is contained in:
committed by
Michael Stahl
parent
92893d7cb5
commit
6d5fc2acf2
@@ -145,7 +145,7 @@ public:
|
||||
TUBES_DLLPUBLIC static void addSuffixToNames( const char* pName );
|
||||
|
||||
private:
|
||||
static TeleManagerImpl* pImpl;
|
||||
static std::unique_ptr<TeleManagerImpl> pImpl;
|
||||
|
||||
static ::osl::Mutex& GetMutex();
|
||||
};
|
||||
|
@@ -436,7 +436,7 @@ bool TeleManager::init( bool bListen )
|
||||
|
||||
void TeleManager::finalize()
|
||||
{
|
||||
delete pImpl;
|
||||
pImpl.reset();
|
||||
}
|
||||
|
||||
bool TeleManager::createAccountManager()
|
||||
|
Reference in New Issue
Block a user