Add virtual destructor to L0::Driver

Change-Id: Iaeebe3e45a172daa028111f6dd1d741ca6a24969
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski 2020-05-29 14:21:35 +02:00 committed by sys_ocldev
parent 02f2f22045
commit 91dc953e1c
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ struct Driver {
virtual ze_result_t driverInit(_ze_init_flag_t) = 0;
virtual void initialize(bool *result) = 0;
static Driver *get() { return driver; }
virtual ~Driver() = default;
protected:
static Driver *driver;