diff --git a/src/utils/CastArray.hpp b/src/utils/CastArray.hpp
index 120bcc25c1f5dd9da75a387016bad8d2b5175688..5e1b366e233e07cdcfff9940e38bbe6bc1c80d5a 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),