Skip to content

Commit 6e05994

Browse files
committed
Use non-const iterators or OS X
1 parent 71f0f87 commit 6e05994

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/lsl_cpp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,8 +1011,8 @@ namespace lsl {
10111011
while (double ts = pull_sample(sample, timeout)) {
10121012
#if __cplusplus > 199711L || _MSC_VER >= 1900
10131013
chunk.insert(chunk.end(),
1014-
std::make_move_iterator(sample.cbegin()),
1015-
std::make_move_iterator(sample.cend()));
1014+
std::make_move_iterator(sample.begin()),
1015+
std::make_move_iterator(sample.end()));
10161016
#else
10171017
chunk.insert(chunk.end(), sample.begin(), sample.end());
10181018
#endif

0 commit comments

Comments
 (0)