Fix to make access of canbus frames const correct. It's now not really possible to modify the captured canbus frames from outside the model class that holds them. This is safer and more future proof.
Boring update but it might save head scratching in the future.
This commit is contained in:
+2
-1
@@ -31,7 +31,8 @@ public:
|
||||
void setOverwriteMode(bool);
|
||||
void normalizeTiming();
|
||||
void recalcOverwrite();
|
||||
QVector<CANFrame> *getListReference();
|
||||
void insertFrames(const QVector<CANFrame> &newFrames);
|
||||
const QVector<CANFrame> *getListReference() const; //thou shalt not modify these frames externally!
|
||||
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user