another const

This commit is contained in:
Matthew Kennedy 2019-06-07 00:50:04 -07:00 committed by rusefi
parent 0e23276ea7
commit 978559e489
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
#include "local_version_holder.h" #include "local_version_holder.h"
int LocalVersionHolder::getVersion() { int LocalVersionHolder::getVersion() const {
return localVersion; return localVersion;
} }

View File

@ -22,7 +22,7 @@ public:
* @return true if 'globalVersion' has changed since last time we've invoked this method * @return true if 'globalVersion' has changed since last time we've invoked this method
*/ */
bool isOld(int globalVersion); bool isOld(int globalVersion);
int getVersion(); int getVersion() const;
private: private:
/** /**