Add virtual dtor to ITimer class (#6786)
authorVladimir Plazun/AI Tools Lab /SRR/Engineer/삼성전자 <v.plazun@samsung.com>
Wed, 21 Aug 2019 13:03:34 +0000 (16:03 +0300)
committerAlexander Efimov/AI Tools Lab/./Samsung Electronics <a.efimov@samsung.com>
Wed, 21 Aug 2019 13:03:33 +0000 (16:03 +0300)
Fix failed build while using clang 9.0

Signed-off-by: Vladimir Plazun <v.plazun@samsung.com>
runtimes/neurun/core/include/util/ITimer.h

index 28b4ca1..79ecdd0 100644 (file)
@@ -31,6 +31,8 @@ public:
   virtual void handleEnd() = 0;
   int getTime() { return _timer_res; };
 
+  virtual ~ITimer() = default;
+
 protected:
   int _timer_res{0};
 };