aboutsummaryrefslogtreecommitdiff
path: root/lib/configuration/test/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/configuration/test/main.cpp')
-rw-r--r--lib/configuration/test/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/configuration/test/main.cpp b/lib/configuration/test/main.cpp
index fa04f10..06f7cb0 100644
--- a/lib/configuration/test/main.cpp
+++ b/lib/configuration/test/main.cpp
@@ -151,7 +151,7 @@ SCENARIO("Configuration")
output << *global_conf;
REQUIRE(output.str() == "name=global\nnumber=123\ntoggle=true\n");
- Configuration::move_global(std::move(global_conf));
+ global_conf->make_global();
Configuration g;
REQUIRE(g.value<std::string>("name"));
REQUIRE(g.value<std::string>("name").value() == "global");