diff --git a/src/containers.hh b/src/containers.hh index c972d93e..621dd480 100644 --- a/src/containers.hh +++ b/src/containers.hh @@ -101,7 +101,7 @@ struct FilterView Iterator end() const { return {*this, std::end(m_container), std::end(m_container)}; } Container m_container; - Filter m_filter; + mutable Filter m_filter; }; template @@ -158,7 +158,7 @@ struct TransformView Iterator end() const { return {*this, std::end(m_container)}; } Container m_container; - Transform m_transform; + mutable Transform m_transform; }; template