diff --git a/src/plugins/projectexplorer/projectmodels.cpp b/src/plugins/projectexplorer/projectmodels.cpp index f4471d99a12..0e84ee46940 100644 --- a/src/plugins/projectexplorer/projectmodels.cpp +++ b/src/plugins/projectexplorer/projectmodels.cpp @@ -73,8 +73,14 @@ namespace Internal { /// An output iterator whose assignment operator appends a clone of the operand to the list of /// children of the WrapperNode passed to the constructor. -class Appender : public std::iterator +class Appender { + using iterator_category = std::output_iterator_tag; + using value_type = void; + using difference_type = void; + using pointer = void; + using reference = void; + public: explicit Appender(WrapperNode *parent) : m_parent(parent) {}