From dd277842571ade5f78b33171648356a56fec400a Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 23 Jun 2020 17:16:35 +0300 Subject: Fix compiler warnings in Configuration --- lib/configuration/test/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/configuration/test') 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("name")); REQUIRE(g.value("name").value() == "global"); -- cgit v1.2.1