]> sigrok.org Git - pulseview.git/commit
Declare a virtual destructor for SignalData
authorMarcus Comstedt <redacted>
Sat, 17 May 2014 10:37:15 +0000 (12:37 +0200)
committerMarcus Comstedt <redacted>
Tue, 1 Jul 2014 11:28:05 +0000 (13:28 +0200)
commit313b4901cd15bd87b20870f0354a683a5fc447a5
treea657f0f029123c6820aec7334fd9c2f8973bb9b3
parent943edd769f24a5a17df4f0b5e94d92b1b19c8300
Declare a virtual destructor for SignalData

This fixes the following error:

error: deleting object of polymorphic class type 'pv::data::Analog'
which has non-virtual destructor might cause undefined behaviour
[-Werror=delete-non-virtual-dtor]

Also, the same error for pv::data::Logic.
pv/data/signaldata.h