diff --git a/src/mesh/SubItemValuePerItem.hpp b/src/mesh/SubItemValuePerItem.hpp index aac434ffdf809452a89cf483d430e7ad20d8cd32..63bff8a35848746535df9d05c7df0a12c899c3a6 100644 --- a/src/mesh/SubItemValuePerItem.hpp +++ b/src/mesh/SubItemValuePerItem.hpp @@ -61,7 +61,7 @@ class SubItemValuePerItem public: template <typename IndexType> - PUGS_INLINE const DataType& + PUGS_FORCEINLINE DataType& operator[](IndexType i) const noexcept(NO_ASSERT) { static_assert(std::is_integral_v<IndexType>, "SubView is indexed by integral values");