summaryrefslogtreecommitdiffstats
path: root/src/Serialiser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Serialiser.cpp')
-rw-r--r--src/Serialiser.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Serialiser.cpp b/src/Serialiser.cpp
index 36d4a87f..6a0991be 100644
--- a/src/Serialiser.cpp
+++ b/src/Serialiser.cpp
@@ -101,13 +101,11 @@ struct Serialiser::Impl {
};
Serialiser::Serialiser(World& world)
- : me(new Impl(world))
+ : me{make_unique<Impl>(world)}
{}
Serialiser::~Serialiser()
-{
- delete me;
-}
+{}
void
Serialiser::Impl::write_manifest(const FilePath& bundle_path,