aboutsummaryrefslogtreecommitdiff
path: root/lib/configuration/test/main.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2020-06-23 17:16:35 +0300
committerAqua-sama <aqua@iserlohn-fortress.net>2020-06-23 17:16:35 +0300
commitdd277842571ade5f78b33171648356a56fec400a (patch)
treee046e3d73a6bf8af173f34de59e1a20b96fd3504 /lib/configuration/test/main.cpp
parentenable smolblok (diff)
downloadsmolbote-dd277842571ade5f78b33171648356a56fec400a.tar.xz
Fix compiler warnings in Configuration
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");