From 1e697b87e6f66ca646199b42bd63f1b988506002 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=A2=85=ED=98=84/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Staff=20Engineer/=EC=82=BC=EC=84=B1?= =?utf8?q?=EC=A0=84=EC=9E=90?= Date: Thu, 12 Jul 2018 08:10:52 +0900 Subject: [PATCH] Fix missing override warnings (#587) This commit fixes missing override warnings reported by clang 7.0. Signed-off-by: Jonghyun Park --- libs/core/include/nncc/core/ADT/kernel/Buffer.h | 2 +- libs/core/include/nncc/core/ADT/kernel/Overlay.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/core/include/nncc/core/ADT/kernel/Buffer.h b/libs/core/include/nncc/core/ADT/kernel/Buffer.h index 1b5ee90..36b7bb3 100644 --- a/libs/core/include/nncc/core/ADT/kernel/Buffer.h +++ b/libs/core/include/nncc/core/ADT/kernel/Buffer.h @@ -36,7 +36,7 @@ public: } public: - const Shape &shape(void) const { return _impl.shape(); } + const Shape &shape(void) const override { return _impl.shape(); } private: std::vector _buffer; diff --git a/libs/core/include/nncc/core/ADT/kernel/Overlay.h b/libs/core/include/nncc/core/ADT/kernel/Overlay.h index 19756f2..73d2b10 100644 --- a/libs/core/include/nncc/core/ADT/kernel/Overlay.h +++ b/libs/core/include/nncc/core/ADT/kernel/Overlay.h @@ -37,7 +37,7 @@ public: } public: - const Shape &shape(void) const { return _impl.shape(); } + const Shape &shape(void) const override { return _impl.shape(); } private: InputIt const _it; -- 2.7.4