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"
|
||||
|
||||
LocalVersionHolder::LocalVersionHolder() {
|
||||
}
|
||||
|
||||
int LocalVersionHolder::getVersion() {
|
||||
return localVersion;
|
||||
}
|
||||
|
|
|
@ -15,8 +15,6 @@
|
|||
*/
|
||||
class LocalVersionHolder {
|
||||
public:
|
||||
LocalVersionHolder();
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
|
Loading…
Reference in New Issue