summaryrefslogtreecommitdiffstats
path: root/tests/ingen_test.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-09-27 18:28:26 -0400
committerDavid Robillard <d@drobilla.net>2022-09-27 18:28:26 -0400
commit3ae3c86937c7ffc45d24e36a33560cd63ebb900b (patch)
tree94950d3132bf7408f0263c36723ed51849c42fd6 /tests/ingen_test.cpp
parentf8fefe7d8e417c29537e8c9fa7703107d69f66b5 (diff)
downloadingen-3ae3c86937c7ffc45d24e36a33560cd63ebb900b.tar.gz
ingen-3ae3c86937c7ffc45d24e36a33560cd63ebb900b.tar.bz2
ingen-3ae3c86937c7ffc45d24e36a33560cd63ebb900b.zip
Use std::make_unique
Diffstat (limited to 'tests/ingen_test.cpp')
-rw-r--r--tests/ingen_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp
index 9f7da2f0..df7e9d34 100644
--- a/tests/ingen_test.cpp
+++ b/tests/ingen_test.cpp
@@ -78,7 +78,7 @@ run(int argc, char** argv)
{
// Create world
try {
- world = std::unique_ptr<World>{new World(nullptr, nullptr, nullptr)};
+ world = std::make_unique<World>(nullptr, nullptr, nullptr);
world->load_configuration(argc, argv);
} catch (std::exception& e) {
std::cout << "ingen: " << e.what() << std::endl;