Skip to content

Commit 01f0106

Browse files
committed
remove misplaced const in moveAssign
1 parent 22bffad commit 01f0106

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/array19.lib/array19/AllocatedArrayUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ template<class T> struct AllocatedArrayUtils {
113113
memcpy(toPointer, fromSlice.begin(), fromSlice.count() * sizeof(T));
114114
}
115115
else {
116-
for (const auto& from : fromSlice) *toPointer++ = std::move(from);
116+
for (auto& from : fromSlice) *toPointer++ = std::move(from);
117117
}
118118
}
119119

0 commit comments

Comments
 (0)