The Big Refactoring of 2019: configuration version should not be a global variable #656
This commit is contained in:
parent
49841f1adb
commit
c8766d901d
|
@ -7,9 +7,6 @@
|
||||||
|
|
||||||
#include "local_version_holder.h"
|
#include "local_version_holder.h"
|
||||||
|
|
||||||
LocalVersionHolder::LocalVersionHolder() {
|
|
||||||
}
|
|
||||||
|
|
||||||
int LocalVersionHolder::getVersion() {
|
int LocalVersionHolder::getVersion() {
|
||||||
return localVersion;
|
return localVersion;
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,8 +15,6 @@
|
||||||
*/
|
*/
|
||||||
class LocalVersionHolder {
|
class LocalVersionHolder {
|
||||||
public:
|
public:
|
||||||
LocalVersionHolder();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Calling this method changes the internal state of the class - each consumer interested in tracking
|
* Calling this method changes the internal state of the class - each consumer interested in tracking
|
||||||
* changes should have it's own instance of this class
|
* changes should have it's own instance of this class
|
||||||
|
|
Loading…
Reference in New Issue