Avoid unqualified call to `std::move`
This commit is contained in:
parent
53ce099bf9
commit
3a4d71ef5c
|
@ -109,7 +109,7 @@ void ArgumentParserTests::testArgument()
|
||||||
#endif
|
#endif
|
||||||
ArgumentOccurrence occurrence(0, vector<Argument *>(), nullptr);
|
ArgumentOccurrence occurrence(0, vector<Argument *>(), nullptr);
|
||||||
occurrence.values.emplace_back("bar");
|
occurrence.values.emplace_back("bar");
|
||||||
argument.m_occurrences.emplace_back(move(occurrence));
|
argument.m_occurrences.emplace_back(std::move(occurrence));
|
||||||
CPPUNIT_ASSERT_EQUAL("bar"s, string(argument.firstValue()));
|
CPPUNIT_ASSERT_EQUAL("bar"s, string(argument.firstValue()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue