summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-01-21 18:10:02 +0100
committerDavid Robillard <d@drobilla.net>2018-01-21 18:10:02 +0100
commit7150b9bc10511e17abdd6e528fd1317522f64eae (patch)
treedfa57b5725578c55a880be173f825767535958b5
parent97592c2cf975295b9058e08b5fd9e45b3205ae5c (diff)
downloadingen-7150b9bc10511e17abdd6e528fd1317522f64eae.tar.gz
ingen-7150b9bc10511e17abdd6e528fd1317522f64eae.tar.bz2
ingen-7150b9bc10511e17abdd6e528fd1317522f64eae.zip
Avoid unnecessary move warnings
-rw-r--r--tests/tst_FilePath.cpp2
1 files changed, 1 insertions, 1 deletions
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");