clang-tidy: avoid copy

This commit is contained in:
Daniel Pfeifer
2017-04-21 10:42:27 +02:00
parent b432e933cb
commit 73020305af
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -236,7 +236,7 @@ public:
cmFileMonitor::Callback cb)
: Parent(p)
, PathSegment(ps)
, CbList({ cb })
, CbList({ std::move(cb) })
{
assert(p);
assert(!ps.empty());