summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-29 18:02:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-29 18:37:51 +0200
commitb48e90799d85e25092fa07ee47bb5a94588d4c82 (patch)
treee8f3d600f7aa73c2fa23c8ded05e70cf70fe1542 /include
parent0b23ac2c9d36c89137feeb82d0aed7a8628a53b7 (diff)
vcl: std::auto_ptr -> std::unique_ptr
Change-Id: I5a08186b465b15311c63784506a0ca0e119286e2
Diffstat (limited to 'include')
-rw-r--r--include/vcl/mnemonicengine.hxx2
-rw-r--r--include/vcl/quickselectionengine.hxx2
-rw-r--r--include/vcl/threadex.hxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/mnemonicengine.hxx b/include/vcl/mnemonicengine.hxx
index c8c40009f468..f1769b5138f3 100644
--- a/include/vcl/mnemonicengine.hxx
+++ b/include/vcl/mnemonicengine.hxx
@@ -121,7 +121,7 @@ namespace vcl
struct MnemonicEngine_Data;
class VCL_DLLPUBLIC MnemonicEngine
{
- ::std::auto_ptr< MnemonicEngine_Data > m_pData;
+ ::std::unique_ptr< MnemonicEngine_Data > m_pData;
public:
MnemonicEngine( IMnemonicEntryList& _rEntryList );
diff --git a/include/vcl/quickselectionengine.hxx b/include/vcl/quickselectionengine.hxx
index 08d1fa384b46..138a7883f891 100644
--- a/include/vcl/quickselectionengine.hxx
+++ b/include/vcl/quickselectionengine.hxx
@@ -76,7 +76,7 @@ namespace vcl
void SetEnabled( const bool& b );
private:
- ::std::auto_ptr< QuickSelectionEngine_Data > m_pData;
+ ::std::unique_ptr< QuickSelectionEngine_Data > m_pData;
bool bEnabled;
private:
diff --git a/include/vcl/threadex.hxx b/include/vcl/threadex.hxx
index f25a3cc63c46..b2f24d65dcec 100644
--- a/include/vcl/threadex.hxx
+++ b/include/vcl/threadex.hxx
@@ -71,7 +71,7 @@ public:
static ResultT exec( FuncT const& func )
{
typedef GenericSolarThreadExecutor<FuncT, ResultT> ExecutorT;
- ::std::auto_ptr<ExecutorT> const pExecutor( new ExecutorT(func) );
+ ::std::unique_ptr<ExecutorT> const pExecutor( new ExecutorT(func) );
pExecutor->execute();
if (pExecutor->m_exc.hasValue())
::cppu::throwException( pExecutor->m_exc );
@@ -108,7 +108,7 @@ public:
static void exec( FuncT const& func )
{
typedef GenericSolarThreadExecutor<FuncT, void> ExecutorT;
- ::std::auto_ptr<ExecutorT> const pExecutor( new ExecutorT(func) );
+ ::std::unique_ptr<ExecutorT> const pExecutor( new ExecutorT(func) );
pExecutor->execute();
if (pExecutor->m_exc.hasValue())
::cppu::throwException( pExecutor->m_exc );