From 2e24175c683bca42496104591d6b702dad360b8e Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Tue, 1 Feb 2022 16:42:15 +0000 Subject: IVGCVSW-6724 Accessing ConstTensors from IConnectableLayer Signed-off-by: Nikhil Raj Change-Id: I01f42a520d15c6dabd2f77c7715c91b8f7026476 --- src/armnn/Layer.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/armnn/Layer.hpp') diff --git a/src/armnn/Layer.hpp b/src/armnn/Layer.hpp index ecfa1d9a5b..23aa86a414 100644 --- a/src/armnn/Layer.hpp +++ b/src/armnn/Layer.hpp @@ -394,8 +394,8 @@ protected: LayerType* CloneBase(Graph& graph, Params&& ... params) const; // Retrieve the Handles to the constants - using ConstantTensors = std::vector>>; - virtual ConstantTensors GetConstantTensorsByRef() {return ConstantTensors(); }; + // Marking this as override and having this here keeps IConnectable abstract with only pure virtual function + virtual ConstantTensors GetConstantTensorsByRef() override {return ConstantTensors(); }; // "Blob" AdditionalInfoObjectPtr m_AdditionalInfoObject; -- cgit v1.2.1