diff options
author | Hanjoung Lee <hanjoung.lee@samsung.com> | 2020-06-24 20:05:08 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-24 20:05:08 +0900 |
commit | cb0f6872c2809d989ebd33d4dae20961d283ca98 (patch) | |
tree | 0469ef6d8699766d9f643fb51c6ff2a5c7a1d9ae | |
parent | de22a2426489cbed87847d7ee32d3311b43fd564 (diff) | |
download | nnfw-cb0f6872c2809d989ebd33d4dae20961d283ca98.tar.gz nnfw-cb0f6872c2809d989ebd33d4dae20961d283ca98.tar.bz2 nnfw-cb0f6872c2809d989ebd33d4dae20961d283ca98.zip |
[onert] Add "override" to UserTensor::setShape (#2584)
Add "override" keyword to `controlflow::UserTensor::setShape`.
ONE-DCO-1.0-Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
-rw-r--r-- | runtime/onert/core/src/backend/controlflow/UserTensor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/onert/core/src/backend/controlflow/UserTensor.h b/runtime/onert/core/src/backend/controlflow/UserTensor.h index f37d2347d..83976edc5 100644 --- a/runtime/onert/core/src/backend/controlflow/UserTensor.h +++ b/runtime/onert/core/src/backend/controlflow/UserTensor.h @@ -66,7 +66,7 @@ public: int32_t data_offset() const override { return _info.typeInfo().offset(); } bool is_dynamic() const override { return false; } ir::Shape getShape() const override { return _info.shape(); } - void setShape(const ir::Shape &new_shape) { _info.shape(new_shape); } + void setShape(const ir::Shape &new_shape) override { _info.shape(new_shape); } private: ir::OperandInfo _info; |