1
0
Fork 0

src/Scripting/NasalSys.cxx: use override in SimNasalLogFileLine.

This commit is contained in:
Julian Smith 2020-06-20 19:07:24 +01:00
parent eddd042dbf
commit 5af966cfcc

View file

@ -510,7 +510,7 @@ struct SimNasalLogFileLine : SGPropertyChangeListener
SGPropertyNode* node = fgGetNode("/sim/nasal-log-file-line", true /*create*/); SGPropertyNode* node = fgGetNode("/sim/nasal-log-file-line", true /*create*/);
node->addChangeListener(this, true /*initial*/); node->addChangeListener(this, true /*initial*/);
} }
virtual void valueChanged(SGPropertyNode* node) { void valueChanged(SGPropertyNode* node) override {
_file_line = node->getIntValue(); _file_line = node->getIntValue();
} }