Skip to content

Commit 57c1ee6

Browse files
committed
Fixes compile erorr with explicit move
1 parent cbc52eb commit 57c1ee6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/CXXGraph/Partitioning/Partitioner.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ CoordinatedPartitionState<T> Partitioner<T>::startCoordinated() {
208208
*/
209209
// new shared state is move constructed then returned
210210
// (so has no effect on the shared ponter)
211-
return *shared_state;
211+
return std::move(*shared_state);
212212
}
213213

214214
template <typename T>

0 commit comments

Comments
 (0)