summaryrefslogtreecommitdiff
path: root/desktop/source/migration
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-30 12:26:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-30 12:28:51 +0200
commitfddabddb0ad178ce6989d254c6001126d7bd23c4 (patch)
tree80eb090eac7860f8fc1c1c3ea57993b04a38ee3f /desktop/source/migration
parent548b360c0e4693aac0cbdd2fcc1aab433fc54010 (diff)
desktop: std::auto_ptr -> std::unique_ptr
Change-Id: I450ee7134454321365d9d153522b8942a3d7d811
Diffstat (limited to 'desktop/source/migration')
-rw-r--r--desktop/source/migration/migration_impl.hxx4
-rw-r--r--desktop/source/migration/services/misc.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/migration/migration_impl.hxx b/desktop/source/migration/migration_impl.hxx
index 5f8e345fb0a0..4bb99e431e19 100644
--- a/desktop/source/migration/migration_impl.hxx
+++ b/desktop/source/migration/migration_impl.hxx
@@ -51,7 +51,7 @@ struct install_info
};
typedef std::vector< OUString > strings_v;
-typedef std::auto_ptr< strings_v > strings_vr;
+typedef std::unique_ptr< strings_v > strings_vr;
struct migration_step
{
@@ -73,7 +73,7 @@ struct supported_migration
};
typedef std::vector< migration_step > migrations_v;
-typedef std::auto_ptr< migrations_v > migrations_vr;
+typedef std::unique_ptr< migrations_v > migrations_vr;
typedef std::vector< supported_migration > migrations_available;
diff --git a/desktop/source/migration/services/misc.hxx b/desktop/source/migration/services/misc.hxx
index 13013bbd6ce1..f6018ed022f1 100644
--- a/desktop/source/migration/services/misc.hxx
+++ b/desktop/source/migration/services/misc.hxx
@@ -31,7 +31,7 @@ namespace migration
typedef ::std::vector< OUString > TStringVector;
- typedef ::std::auto_ptr< TStringVector > TStringVectorPtr;
+ typedef ::std::unique_ptr< TStringVector > TStringVectorPtr;
} // namespace migration