From 7150b9bc10511e17abdd6e528fd1317522f64eae Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 21 Jan 2018 18:10:02 +0100 Subject: Avoid unnecessary move warnings --- tests/tst_FilePath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tst_FilePath.cpp b/tests/tst_FilePath.cpp index d3cf1efa..55d6f1c2 100644 --- a/tests/tst_FilePath.cpp +++ b/tests/tst_FilePath.cpp @@ -68,7 +68,7 @@ main(int, char**) FilePath path("/x"); EXPECT_EQ(path, "/x"); - path = std::move(std::string("/a")); + path = std::string("/a"); EXPECT_EQ(path, "/a"); path /= FilePath("b"); -- cgit v1.2.1