From 1c1fddc8b835da08e4ff365beb60e6587aeb6fb3 Mon Sep 17 00:00:00 2001
From: Stephane Del Pino <stephane.delpino44@gmail.com>
Date: Mon, 25 Feb 2019 11:09:25 +0100
Subject: [PATCH] Remove used member 'm_is_built'

This is now computed through m_connectivity_ptr status
Also changed item_t from const to constexpr
---
 src/mesh/ItemValue.hpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/mesh/ItemValue.hpp b/src/mesh/ItemValue.hpp
index c4bf35eeb..45f92a728 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
-- 
GitLab