mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
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:
committed by
Alexey Rybalchenko
parent
f732b87def
commit
b40db42196
@@ -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
|
||||
|
Reference in New Issue
Block a user