FastRestore:Fix undefined ref to vtable error
This commit is contained in:
parent
f4cd0ef74f
commit
6018b64d73
|
@ -214,15 +214,11 @@ public:
|
|||
vbState = newState;
|
||||
}
|
||||
|
||||
~ApplierVersionBatchState() = default;
|
||||
virtual ~ApplierVersionBatchState() = default;
|
||||
|
||||
void operator = (int newState) {
|
||||
vbState = newState;
|
||||
}
|
||||
virtual void operator=(int newState) { vbState = newState; }
|
||||
|
||||
int get() {
|
||||
return RoleVersionBatchState::get();
|
||||
}
|
||||
virtual int get() { return vbState; }
|
||||
};
|
||||
|
||||
struct ApplierBatchData : public ReferenceCounted<ApplierBatchData> {
|
||||
|
|
|
@ -54,15 +54,11 @@ public:
|
|||
vbState = newState;
|
||||
}
|
||||
|
||||
~LoaderVersionBatchState() = default;
|
||||
virtual ~LoaderVersionBatchState() = default;
|
||||
|
||||
void operator = (int newState) {
|
||||
vbState = newState;
|
||||
}
|
||||
virtual void operator=(int newState) { vbState = newState; }
|
||||
|
||||
int get() {
|
||||
return RoleVersionBatchState::get();
|
||||
}
|
||||
virtual int get() { return vbState; }
|
||||
|
||||
// static std::string getVersionBatchState(int vbState) {
|
||||
// switch(vbSTate) {
|
||||
|
|
|
@ -154,8 +154,8 @@ public:
|
|||
|
||||
virtual void initVersionBatch(int batchIndex) = 0;
|
||||
virtual void resetPerRestoreRequest() = 0;
|
||||
virtual int getVersionBatchState(int batchIndex);
|
||||
virtual void setVersionBatchState(int batchIndex, int vbState);
|
||||
virtual int getVersionBatchState(int batchIndex) = 0;
|
||||
virtual void setVersionBatchState(int batchIndex, int vbState) = 0;
|
||||
|
||||
void clearInterfaces() {
|
||||
loadersInterf.clear();
|
||||
|
|
Loading…
Reference in New Issue