From 88af57e2ec047a62da5e729d8b4d0312df7673bb Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 19 Dec 2017 17:03:53 +0100 Subject: [PATCH] Fix for outdated libstdcxx --- test/remote-url.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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");