]> sigrok.org Git - pulseview.git/commit
Fix #1629 by not reallocating DecodeSegments
authorSoeren Apel <redacted>
Mon, 23 Nov 2020 22:49:11 +0000 (23:49 +0100)
committerSoeren Apel <redacted>
Mon, 23 Nov 2020 22:49:11 +0000 (23:49 +0100)
commit9431e2d3d256f3602c3637847a8ec3ad3fdcd590
tree9e3947e0bab07961bd402cd37bfba0ad8bbd37c4
parentc3c07a5f4bed7fea98ad07ca1cce34c9e5409f0b
Fix #1629 by not reallocating DecodeSegments

Doing so called the empty DecodeSegment copy constructor,
creating empty DecodeSegment instances.

Also fixes an off-by-one bug that prevented the final input
segment from being processed.
pv/data/decodesignal.cpp
pv/data/decodesignal.hpp