diff --git a/src/mesh/ItemValue.hpp b/src/mesh/ItemValue.hpp index c4bf35eeb27b7b364bfca9771b356c0738b5e2d8..45f92a728c221d57e0a83c565b6674a80f336066 100644 --- a/src/mesh/ItemValue.hpp +++ b/src/mesh/ItemValue.hpp @@ -18,7 +18,7 @@ template <typename DataType, class ItemValue { public: - static const ItemType item_t{item_type}; + static constexpr ItemType item_t{item_type}; using data_type = DataType; using ItemId = ItemIdT<item_type>; @@ -33,8 +33,6 @@ class ItemValue ConnectivityPtr m_connectivity_ptr; - bool m_is_built{false}; - Array<DataType> m_values; // Allow const std:shared_ptr version to access our data