Skip to content
Snippets Groups Projects
Commit 1c1fddc8 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Remove used member 'm_is_built'

This is now computed through m_connectivity_ptr status
Also changed item_t from const to constexpr
parent 207f229b
No related branches found
No related tags found
1 merge request!11Feature/mpi
...@@ -18,7 +18,7 @@ template <typename DataType, ...@@ -18,7 +18,7 @@ template <typename DataType,
class ItemValue class ItemValue
{ {
public: public:
static const ItemType item_t{item_type}; static constexpr ItemType item_t{item_type};
using data_type = DataType; using data_type = DataType;
using ItemId = ItemIdT<item_type>; using ItemId = ItemIdT<item_type>;
...@@ -33,8 +33,6 @@ class ItemValue ...@@ -33,8 +33,6 @@ class ItemValue
ConnectivityPtr m_connectivity_ptr; ConnectivityPtr m_connectivity_ptr;
bool m_is_built{false};
Array<DataType> m_values; Array<DataType> m_values;
// Allow const std:shared_ptr version to access our data // Allow const std:shared_ptr version to access our data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment