From 47e6ddb2c0dd9071840d29a39c770ad61634b069 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Wed, 22 Jul 2015 16:27:58 +0200 Subject: [PATCH] QSet/QQueue/QStack: remove docs for removed special member functions Commit 5c442321220e9ba7818e2eba4fa22b159b6477ab removed the functions, but not the docs. Change-Id: If12ec8a268cf67c7a62ba4f523360e0c79ce63ca Reviewed-by: Martin Smith --- src/corelib/tools/qqueue.cpp | 13 ------------- src/corelib/tools/qset.qdoc | 33 --------------------------------- src/corelib/tools/qstack.cpp | 13 ------------- 3 files changed, 59 deletions(-) diff --git a/src/corelib/tools/qqueue.cpp b/src/corelib/tools/qqueue.cpp index 65b50c4e03..a8b5051616 100644 --- a/src/corelib/tools/qqueue.cpp +++ b/src/corelib/tools/qqueue.cpp @@ -70,19 +70,6 @@ \sa QList, QStack */ -/*! - \fn QQueue::QQueue() - - Constructs an empty queue. -*/ - -/*! - \fn QQueue::~QQueue() - - Destroys the queue. References to the values in the queue, and all - iterators over this queue, become invalid. -*/ - /*! \fn void QQueue::swap(QQueue &other) \since 4.8 diff --git a/src/corelib/tools/qset.qdoc b/src/corelib/tools/qset.qdoc index 495329b90d..d91a589aa1 100644 --- a/src/corelib/tools/qset.qdoc +++ b/src/corelib/tools/qset.qdoc @@ -113,39 +113,6 @@ compiled in C++11 mode. */ -/*! - \fn QSet::QSet(const QSet &other) - - Constructs a copy of \a other. - - This operation occurs in \l{constant time}, because QSet is - \l{implicitly shared}. This makes returning a QSet from a - function very fast. If a shared instance is modified, it will be - copied (copy-on-write), and this takes \l{linear time}. - - \sa operator=() -*/ - -/*! - \fn QSet::QSet(QSet && other) - - Move-constructs a QSet instance, making it point to the same object that \a other was pointing to. -*/ - - -/*! - \fn QSet &QSet::operator=(const QSet &other) - - Assigns the \a other set to this set and returns a reference to - this set. -*/ - -/*! - \fn QSet &QSet::operator=(QSet &&other) - - Move-assigns the \a other set to this set. -*/ - /*! \fn void QSet::swap(QSet &other) diff --git a/src/corelib/tools/qstack.cpp b/src/corelib/tools/qstack.cpp index e367622c0d..224f72926b 100644 --- a/src/corelib/tools/qstack.cpp +++ b/src/corelib/tools/qstack.cpp @@ -70,19 +70,6 @@ \sa QVector, QQueue */ -/*! - \fn QStack::QStack() - - Constructs an empty stack. -*/ - -/*! - \fn QStack::~QStack() - - Destroys the stack. References to the values in the stack, and all - iterators over this stack, become invalid. -*/ - /*! \fn void QStack::swap(QStack &other) \since 4.8