Skip to content

Commit d08a7c0

Browse files
Ref
1 parent b218ae1 commit d08a7c0

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

include/msd/blocking_iterator.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,9 @@ class blocking_writer_iterator {
141141
*
142142
* @return The iterator itself.
143143
*/
144-
template <typename T>
145-
blocking_writer_iterator& operator=(T&& value)
144+
blocking_writer_iterator& operator=(reference value)
146145
{
147-
chan_->write(std::forward<T>(value));
146+
chan_->write(value);
148147
return *this;
149148
}
150149

0 commit comments

Comments
 (0)