Merge pull request #1264 from bmzhao/fix-failing-linux-build

Fix Linux build errors due to missing virtual destructors
This commit is contained in:
Rick Gibbed 2018-11-17 18:03:09 -06:00 committed by GitHub
commit 21b8620bf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -92,6 +92,8 @@ class StackWalker {
// populated.
virtual bool ResolveStack(uint64_t* frame_host_pcs, StackFrame* frames,
size_t frame_count) = 0;
virtual ~StackWalker() = default;
};
} // namespace cpu

View File

@ -35,6 +35,8 @@ class App {
virtual X_RESULT DispatchMessageSync(uint32_t message, uint32_t buffer_ptr,
uint32_t buffer_length) = 0;
virtual ~App() = default;
protected:
App(KernelState* kernel_state, uint32_t app_id);