From 4e417583973a1d984a94a9bb22347c8aff57f0c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Del=20Pino?= <stephane.delpino44@gmail.com>
Date: Mon, 2 Nov 2020 13:01:35 +0100
Subject: [PATCH] Remove useless default constructor

---
 src/utils/CastArray.hpp | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/utils/CastArray.hpp b/src/utils/CastArray.hpp
index 120bcc25c..5e1b366e2 100644
--- a/src/utils/CastArray.hpp
+++ b/src/utils/CastArray.hpp
@@ -27,7 +27,8 @@ class CastArray
   }
 
   PUGS_INLINE
-  CastDataType& operator[](size_t i) const
+  CastDataType&
+  operator[](size_t i) const
   {
     Assert(i < m_size);
     return m_values[i];
@@ -39,12 +40,6 @@ class CastArray
   PUGS_INLINE
   CastArray& operator=(CastArray&&) = default;
 
-  PUGS_INLINE
-  CastArray() : m_size(0), m_values(nullptr)
-  {
-    ;
-  }
-
   PUGS_INLINE
   CastArray(const Array<DataType>& array)
     : m_array(array),
-- 
GitLab