Skip to content

Commit 46ec985

Browse files
committed
Add const version of OutputIterator::operator*.
1 parent c67de37 commit 46ec985

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/osmium/io/output_iterator.hpp

+4
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ namespace osmium {
9797
return *this;
9898
}
9999

100+
const OutputIterator& operator*() const noexcept {
101+
return *this;
102+
}
103+
100104
OutputIterator& operator++() noexcept {
101105
return *this;
102106
}

0 commit comments

Comments
 (0)