From 8c2cbae6e9abe1034ff4243b4b2c90f340dbc35b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladimir=20Plazun/AI=20Tools=20Lab=20/SRR/Engineer/?= =?utf8?q?=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Wed, 21 Aug 2019 16:03:34 +0300 Subject: [PATCH] Add virtual dtor to ITimer class (#6786) Fix failed build while using clang 9.0 Signed-off-by: Vladimir Plazun --- runtimes/neurun/core/include/util/ITimer.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtimes/neurun/core/include/util/ITimer.h b/runtimes/neurun/core/include/util/ITimer.h index 28b4ca1..79ecdd0 100644 --- a/runtimes/neurun/core/include/util/ITimer.h +++ b/runtimes/neurun/core/include/util/ITimer.h @@ -31,6 +31,8 @@ public: virtual void handleEnd() = 0; int getTime() { return _timer_res; }; + virtual ~ITimer() = default; + protected: int _timer_res{0}; }; -- 2.7.4