Use std::move rather than just move

Apparently:

  "warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]"

is default in new XCode.
This commit is contained in:
Giulio Eulisse
2023-10-21 15:46:45 +02:00
committed by Alexey Rybalchenko
parent f732b87def
commit b40db42196
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ class LinePrinter
public:
LinePrinter(stringstream& out, string prefix)
: fOut(out)
, fPrefix(move(prefix))
, fPrefix(std::move(prefix))
{}
// prints line with prefix on both cout (thread-safe) and output stream