summaryrefslogtreecommitdiff
path: root/include/tools/resary.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-17 11:05:49 +0200
committerNoel Grandin <noel@peralex.com>2015-11-17 13:21:49 +0200
commit048a32d903c8cc81a8836c7c7209b92e0bfd6cd7 (patch)
tree6f6b1dd872a065199fc77ef401f220767d525024 /include/tools/resary.hxx
parent81ff7cfddb8e6786529f0a878007e9d399d4908a (diff)
use unique_ptr for pImpl in tools/
Change-Id: I7ac7eca32a67524f6c87696c16b16128e6d8518b
Diffstat (limited to 'include/tools/resary.hxx')
-rw-r--r--include/tools/resary.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/tools/resary.hxx b/include/tools/resary.hxx
index 4e15feb5ee08..0cec8eb351b8 100644
--- a/include/tools/resary.hxx
+++ b/include/tools/resary.hxx
@@ -21,6 +21,7 @@
#include <tools/toolsdllapi.h>
#include <rtl/ustring.hxx>
+#include <memory>
#define RESARRAY_INDEX_NOTFOUND (0xffffffff)
@@ -29,7 +30,7 @@ class ResId;
class TOOLS_DLLPUBLIC ResStringArray
{
struct Impl;
- Impl* mpImpl;
+ std::unique_ptr<Impl> mpImpl;
ResStringArray( const ResStringArray& ) = delete;
ResStringArray& operator=( const ResStringArray& ) = delete;