[nnkit] Fix inconsistent override in Caffe backend (#715)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Thu, 19 Jul 2018 05:41:41 +0000 (14:41 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Thu, 19 Jul 2018 05:41:41 +0000 (14:41 +0900)
This commit fixes inconsistent override tag in Caffe backend (reported
by Clang 7.0).

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/nnkit/backends/caffe/Module.cpp

index 0ca099f..f62cb65 100644 (file)
@@ -55,7 +55,7 @@ public:
     return _net.blob_names().at(_net.input_blob_indices().at(n));
   }
 
-  caffe::Blob<DType> *blob(uint32_t n)
+  caffe::Blob<DType> *blob(uint32_t n) override
   {
     return _net.input_blobs().at(n);
   }
@@ -83,7 +83,7 @@ public:
     return _net.blob_names().at(_net.output_blob_indices().at(n));
   }
 
-  caffe::Blob<DType> *blob(uint32_t n)
+  caffe::Blob<DType> *blob(uint32_t n) override
   {
     return _net.output_blobs().at(n);
   }