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/inc/unx/gtk/gtkinst.hxx | |
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/inc/unx/gtk/gtkinst.hxx')
-rw-r--r-- | vcl/inc/unx/gtk/gtkinst.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/unx/gtk/gtkinst.hxx b/vcl/inc/unx/gtk/gtkinst.hxx index f9369f7add62..ae433e93c0cd 100644 --- a/vcl/inc/unx/gtk/gtkinst.hxx +++ b/vcl/inc/unx/gtk/gtkinst.hxx @@ -184,7 +184,7 @@ class GtkInstance : public X11SalInstance typedef X11SalInstance Superclass_t; #endif public: - GtkInstance( SalYieldMutex* pMutex ); + GtkInstance( std::unique_ptr<SalYieldMutex> pMutex ); virtual ~GtkInstance() override; void EnsureInit(); virtual void AfterAppInit() override; |