diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-19 08:53:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-21 21:06:17 +0200 |
commit | f05f4e042ca6ac8ae7f1d1e8e6bfb4cbba17a044 (patch) | |
tree | fe1a6ab058ed94e64c00ff171f16ee79c160e26d /vcl/headless/svpinst.cxx | |
parent | 82034b04e81b74a048595b0eac0f73581ecbc9e4 (diff) |
loplugin:useuniqueptr in SvpSalInstance
Change-Id: I8cab3c63ba4dcd08488d0fb34d689692d5cf97f9
Reviewed-on: https://gerrit.libreoffice.org/59347
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/headless/svpinst.cxx')
-rw-r--r-- | vcl/headless/svpinst.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx index 5e0ec4c80b50..5cfd6247d897 100644 --- a/vcl/headless/svpinst.cxx +++ b/vcl/headless/svpinst.cxx @@ -63,8 +63,8 @@ static void atfork_child() #endif -SvpSalInstance::SvpSalInstance( SalYieldMutex *pMutex ) - : SalGenericInstance( pMutex ) +SvpSalInstance::SvpSalInstance( std::unique_ptr<SalYieldMutex> pMutex ) + : SalGenericInstance( std::move(pMutex) ) { m_aTimeout.tv_sec = 0; m_aTimeout.tv_usec = 0; |