aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/ConstantLayer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/layers/ConstantLayer.hpp')
-rw-r--r--src/armnn/layers/ConstantLayer.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/armnn/layers/ConstantLayer.hpp b/src/armnn/layers/ConstantLayer.hpp
index f5ab5464f2..08b9c24273 100644
--- a/src/armnn/layers/ConstantLayer.hpp
+++ b/src/armnn/layers/ConstantLayer.hpp
@@ -53,7 +53,7 @@ protected:
/// Retrieve the handles to the constant values stored by the layer.
// For API stability DO NOT ALTER order and add new members to the end of vector
- ConstantTensors GetConstantTensorsByRef() override { return {m_LayerOutput}; }
+ ImmutableConstantTensors GetConstantTensorsByRef() const override { return {m_LayerOutput}; }
};
} // namespace