]> granicus.if.org Git - icinga2/commitdiff
Fix for outdated libstdcxx 5885/head
authorGunnar Beutner <gunnar.beutner@icinga.com>
Tue, 19 Dec 2017 16:03:53 +0000 (17:03 +0100)
committerGunnar Beutner <gunnar.beutner@icinga.com>
Wed, 20 Dec 2017 07:02:17 +0000 (08:02 +0100)
test/remote-url.cpp

index 98ff16f47ba5c1db57fd58bd9f3ef83a4d0e38a5..b4b477e45ab4fb088ebe6ab03eaafcee5063cafb 100644 (file)
@@ -57,8 +57,8 @@ BOOST_AUTO_TEST_CASE(get_and_set)
        std::vector<String> v1 { "hip", "hip", "hurra" };
        std::vector<String> v2 { "äü^ä+#ül-" };
        std::vector<String> v3 { "1", "2" };
-       m.emplace("shout", v1);
-       m.emplace("sonderzeichen", v2);
+       m.insert(std::make_pair("shout", v1));
+       m.insert(std::make_pair("sonderzeichen", v2));
        url->SetQuery(m);
        url->SetQueryElements("count", v3);
        url->AddQueryElement("count", "3");