diff --git a/apps/openmw/mwworld/containerstore.hpp b/apps/openmw/mwworld/containerstore.hpp index f18a595466..1ef53c3e99 100644 --- a/apps/openmw/mwworld/containerstore.hpp +++ b/apps/openmw/mwworld/containerstore.hpp @@ -258,10 +258,8 @@ namespace MWWorld friend class MWClass::Container; }; - template class ContainerStoreIteratorBase - : public std::iterator { template struct IsConvertible @@ -362,6 +360,12 @@ namespace MWWorld /// \return reached the end? public: + using iterator_category = std::forward_iterator_tag; + using value_type = PtrType; + using difference_type = std::ptrdiff_t; + using pointer = PtrType*; + using reference = PtrType&; + template ContainerStoreIteratorBase (const ContainerStoreIteratorBase& other) {