Skip to content

Commit a1872e0

Browse files
committed
Call Stop with explicitly qualified ID
The virtual function should be called with explicitly qualified ID in constructor/deconstructor. Signed-off-by: Yadong Qi <yadong.qi@intel.com>
1 parent be3b49c commit a1872e0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/guest/vm_process.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ bool VmProcSimple::Running(void) {
132132
}
133133

134134
VmProcSimple::~VmProcSimple() {
135-
Stop();
135+
VmProcSimple::Stop();
136136
}
137137

138138

@@ -164,7 +164,7 @@ void VmCoProcRpmb::Stop(void) {
164164

165165

166166
VmCoProcRpmb::~VmCoProcRpmb() {
167-
Stop();
167+
VmCoProcRpmb::Stop();
168168
}
169169

170170
void VmCoProcVtpm::Run(void) {
@@ -186,7 +186,7 @@ void VmCoProcVtpm::Stop(void) {
186186
}
187187

188188
VmCoProcVtpm::~VmCoProcVtpm() {
189-
Stop();
189+
VmCoProcVtpm::Stop();
190190
}
191191

192192
} // namespace vm_manager

0 commit comments

Comments
 (0)