Browse code

Fix for clang-11 compile error courtesy Kurt Hornik

Steffen Neumann authored on 08/05/2021 07:43:30
Showing1 changed files

... ...
@@ -154,7 +154,7 @@ class stream_vector_const_iterator
154 154
             return (that.end_ - that.begin_) / that.value_size_;
155 155
 	}
156 156
 
157
-	reference operator[](difference_type _Off) const
157
+	reference operator[](difference_type _Off)
158 158
 	{
159 159
         next_ = _Off * value_size_;
160 160
 		return (**this);