diff --git a/src/plugins/projectexplorer/projectmodels.cpp b/src/plugins/projectexplorer/projectmodels.cpp index f4471d99a12..b34fd3e4617 100644 --- a/src/plugins/projectexplorer/projectmodels.cpp +++ b/src/plugins/projectexplorer/projectmodels.cpp @@ -73,9 +73,15 @@ 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 { public: + using iterator_category = std::output_iterator_tag; + using value_type = void; + using difference_type = void; + using pointer = void; + using reference = void; + explicit Appender(WrapperNode *parent) : m_parent(parent) {} Appender &operator=(const WrapperNode *node)