[Kernel] Made xe::kernel::App destructor virtual since it is an abstract class.

This commit is contained in:
NPCompete 2018-11-17 14:50:00 -08:00
parent aa14741e74
commit 7c24f8e09f
1 changed files with 2 additions and 0 deletions

View File

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