We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b218ae1 commit d08a7c0Copy full SHA for d08a7c0
1 file changed
include/msd/blocking_iterator.hpp
@@ -141,10 +141,9 @@ class blocking_writer_iterator {
141
*
142
* @return The iterator itself.
143
*/
144
- template <typename T>
145
- blocking_writer_iterator& operator=(T&& value)
+ blocking_writer_iterator& operator=(reference value)
146
{
147
- chan_->write(std::forward<T>(value));
+ chan_->write(value);
148
return *this;
149
}
150
0 commit comments