diff --git a/src/corelib/tools/qduplicatetracker_p.h b/src/corelib/tools/qduplicatetracker_p.h index e5bb11793a..817d259d23 100644 --- a/src/corelib/tools/qduplicatetracker_p.h +++ b/src/corelib/tools/qduplicatetracker_p.h @@ -101,18 +101,11 @@ public: } template - void appendTo(C &c) const & + void appendTo(C &c) const { for (const auto &e : set) c.push_back(e); } - - template - void appendTo(C &c) && - { - for (auto &e : set) - c.push_back(std::move(e)); - } }; QT_END_NAMESPACE