From 9c18776afc3684829898a7f9859748115e5a5276 Mon Sep 17 00:00:00 2001 From: Olivier BICHLER <olivier.bichler@cea.fr> Date: Fri, 26 Jan 2024 17:49:58 +0100 Subject: [PATCH] Fixed post merge issues --- include/aidge/backend/TensorImpl.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/aidge/backend/TensorImpl.hpp b/include/aidge/backend/TensorImpl.hpp index 6c5a61ab2..62f13acb3 100644 --- a/include/aidge/backend/TensorImpl.hpp +++ b/include/aidge/backend/TensorImpl.hpp @@ -154,12 +154,12 @@ public: /** * Return the number of elements stored. */ - std::size_t size() const { return mNbElts; } + inline std::size_t size() const noexcept { return mNbElts; } /** * Return the size (in bytes) of one element (scalar). */ - virtual std::size_t scalarSize() const = 0; + virtual std::size_t scalarSize() const noexcept = 0; constexpr const char *backend() const { return mBackend; } virtual ~TensorImpl() = default; virtual bool operator==(const TensorImpl &othImpl) const = 0; -- GitLab