another const
This commit is contained in:
parent
0e23276ea7
commit
978559e489
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "local_version_holder.h"
|
||||
|
||||
int LocalVersionHolder::getVersion() {
|
||||
int LocalVersionHolder::getVersion() const {
|
||||
return localVersion;
|
||||
}
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ public:
|
|||
* @return true if 'globalVersion' has changed since last time we've invoked this method
|
||||
*/
|
||||
bool isOld(int globalVersion);
|
||||
int getVersion();
|
||||
int getVersion() const;
|
||||
|
||||
private:
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue