Update clang-tidy to clang version 8
[alexxy/gromacs.git] / src / testutils / textblockmatchers.cpp
index 0dfec75d9f57e0ec55779316b5bea7e2cc9eedc5..159b75c93bf2c9fc155afaf866f954719f901768 100644 (file)
@@ -148,7 +148,7 @@ TextBlockMatcherPointer NoTextMatch::createMatcher() const
 }
 
 FilteringExactTextMatch::FilteringExactTextMatch(std::vector<std::string> linesToSkip)
-    : linesToSkip_(linesToSkip)
+    : linesToSkip_(std::move(linesToSkip))
 {}
 
 void FilteringExactTextMatch::addRegexToSkip(const std::string &lineToSkip)