]> sigrok.org Git - pulseview.git/commitdiff
Corrected intializer order in LogicSignal
authorJoel Holdsworth <redacted>
Sat, 13 Oct 2012 21:17:37 +0000 (22:17 +0100)
committerJoel Holdsworth <redacted>
Sat, 20 Oct 2012 17:29:24 +0000 (18:29 +0100)
pv/logicsignal.cpp

index fe5572d232d8184ebb25807c0bdc4b9755022232..912edf468389b96eeb6bb31c2df9ec0af1eeafe0 100644 (file)
@@ -54,8 +54,8 @@ const QColor LogicSignal::LogicSignalColours[10] = {
 LogicSignal::LogicSignal(QString name, shared_ptr<LogicData> data,
        int probe_index) :
        Signal(name),
-       _data(data),
-       _probe_index(probe_index)
+       _probe_index(probe_index),
+       _data(data)
 {
        assert(_probe_index >= 0);
 }