Added Signal::data accessor function
[pulseview.git] / pv / view / logicsignal.cpp
index b1d0037adf949516d0ec5fcdef64c96eebe615e0..54faa601dc16f97ac4b80fba50e5d8af0f3bf992 100644 (file)
@@ -76,7 +76,12 @@ LogicSignal::~LogicSignal()
 {
 }
 
-boost::shared_ptr<pv::data::Logic> LogicSignal::data() const
+boost::shared_ptr<pv::data::SignalData> LogicSignal::data() const
+{
+       return _data;
+}
+
+boost::shared_ptr<pv::data::Logic> LogicSignal::logic_data() const
 {
        return _data;
 }