diff --git a/MaeBlock.hpp b/MaeBlock.hpp index 70010d3..ecdbe3a 100644 --- a/MaeBlock.hpp +++ b/MaeBlock.hpp @@ -275,8 +275,8 @@ template class IndexedProperty public: // Prevent copying. - IndexedProperty(const IndexedProperty&) = delete; - IndexedProperty& operator=(const IndexedProperty&) = delete; + IndexedProperty(const IndexedProperty&) = delete; + IndexedProperty& operator=(const IndexedProperty&) = delete; using size_type = typename std::vector::size_type; @@ -286,14 +286,14 @@ template class IndexedProperty * * The optional boost::dynamic_bitset is owned by the created object. */ - explicit IndexedProperty(std::vector& data, + explicit IndexedProperty(std::vector& data, boost::dynamic_bitset<>* is_null = nullptr) : m_data(), m_is_null(is_null) { m_data.swap(data); } - ~IndexedProperty() + ~IndexedProperty() { if (m_is_null != nullptr) { delete m_is_null;