From: Gunnar Beutner Date: Tue, 19 Dec 2017 16:03:53 +0000 (+0100) Subject: Fix for outdated libstdcxx X-Git-Tag: v2.9.0~273^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=refs%2Fpull%2F5885%2Fhead;p=icinga2 Fix for outdated libstdcxx --- diff --git a/test/remote-url.cpp b/test/remote-url.cpp index 98ff16f47..b4b477e45 100644 --- a/test/remote-url.cpp +++ b/test/remote-url.cpp @@ -57,8 +57,8 @@ BOOST_AUTO_TEST_CASE(get_and_set) std::vector v1 { "hip", "hip", "hurra" }; std::vector v2 { "äü^ä+#ül-" }; std::vector 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");