Use std::move explicitly to avoid ambiguity with boost

This commit is contained in:
Matthew Barr
2017-03-03 14:53:41 +11:00
parent eed2743d04
commit c50a931bb4
7 changed files with 12 additions and 12 deletions

View File

@@ -838,7 +838,7 @@ void pruneUnusedTops(NGHolder &h, const RoseGraph &g,
auto pt_inserter = inserter(pruned_tops, pruned_tops.end());
set_intersection(h[e].tops.begin(), h[e].tops.end(),
used_tops.begin(), used_tops.end(), pt_inserter);
h[e].tops = move(pruned_tops);
h[e].tops = std::move(pruned_tops);
if (h[e].tops.empty()) {
DEBUG_PRINTF("edge (start,%zu) has only unused tops\n", h[v].index);
dead.push_back(e);
@@ -1460,7 +1460,7 @@ void splitAndFilterBuckets(vector<vector<RoseVertex>> &buckets,
return; // No new buckets created.
}
buckets = move(out);
buckets = std::move(out);
removeSingletonBuckets(buckets);
}