From 36c90f440130770b1bdf9712ad3878b491a5ca1a Mon Sep 17 00:00:00 2001 From: Chao Mai Date: Sun, 12 Jul 2015 00:43:48 +0800 Subject: [PATCH 1/2] fix build problem --- tests/unittest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unittest.cpp b/tests/unittest.cpp index e1c440b3d..5997eea68 100644 --- a/tests/unittest.cpp +++ b/tests/unittest.cpp @@ -933,7 +933,7 @@ TEST(simple_url_params) CROW_ROUTE(app, "/params") ([&last_url_params](const crow::request& req){ - last_url_params = move(req.url_params); + last_url_params = boost::move(req.url_params); return "OK"; }); From 4b858c2073df07fea815b69bd2aa5eaed63ba77e Mon Sep 17 00:00:00 2001 From: Chao Mai Date: Sun, 12 Jul 2015 02:07:47 +0800 Subject: [PATCH 2/2] change to std::move --- tests/unittest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unittest.cpp b/tests/unittest.cpp index 5997eea68..d2cb231f4 100644 --- a/tests/unittest.cpp +++ b/tests/unittest.cpp @@ -933,7 +933,7 @@ TEST(simple_url_params) CROW_ROUTE(app, "/params") ([&last_url_params](const crow::request& req){ - last_url_params = boost::move(req.url_params); + last_url_params = std::move(req.url_params); return "OK"; });