From: Vladimir Plazun/AI Tools Lab /SRR/Engineer/삼성전자 Date: Wed, 21 Aug 2019 13:03:34 +0000 (+0300) Subject: Add virtual dtor to ITimer class (#6786) X-Git-Tag: accepted/tizen/unified/20190903.052428~224 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8c2cbae6e9abe1034ff4243b4b2c90f340dbc35b;p=platform%2Fcore%2Fml%2Fnnfw.git Add virtual dtor to ITimer class (#6786) Fix failed build while using clang 9.0 Signed-off-by: Vladimir Plazun --- 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}; };