From 36c90f440130770b1bdf9712ad3878b491a5ca1a Mon Sep 17 00:00:00 2001 From: Chao Mai Date: Sun, 12 Jul 2015 00:43:48 +0800 Subject: 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 e1c440b..5997eea 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"; }); -- cgit v1.2.3-54-g00ecf From 4b858c2073df07fea815b69bd2aa5eaed63ba77e Mon Sep 17 00:00:00 2001 From: Chao Mai Date: Sun, 12 Jul 2015 02:07:47 +0800 Subject: 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 5997eea..d2cb231 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"; }); -- cgit v1.2.3-54-g00ecf