Segments: Fix iterator access to underlying value
authorSoeren Apel <soeren@apelpie.net>
Tue, 9 Oct 2018 06:10:39 +0000 (08:10 +0200)
committerSoeren Apel <soeren@apelpie.net>
Sat, 13 Oct 2018 13:35:14 +0000 (15:35 +0200)
commit65c92359634f672e5f472a5214719dabc7e20883
tree48c7d624dbc751d4a8499268a865da04ff1b61c2
parent8e9e525e01e9cb4d05912a7adce0e6f2f910b90a
Segments: Fix iterator access to underlying value

Before this change, it->value was accessed even when the
iterator went past the end of the underlying buffer.
pv/data/analogsegment.cpp
pv/data/analogsegment.hpp
pv/data/logicsegment.cpp
pv/data/logicsegment.hpp
pv/data/segment.cpp
pv/data/segment.hpp
test/data/segment.cpp