diff options
author | Luca Di Sera <luca.disera@qt.io> | 2022-09-01 15:24:27 +0200 |
---|---|---|
committer | Luca Di Sera <luca.disera@qt.io> | 2022-09-02 15:45:40 +0200 |
commit | cc00255e0176d4344ad5606c7081f32e81a232f7 (patch) | |
tree | 50424bb09b59e3cab432ef63ef45591e516a959a /src/qdoc/node.cpp | |
parent | ee64774559478596db3665793c46f5da3aaf7147 (diff) | |
download | qttools-cc00255e0176d4344ad5606c7081f32e81a232f7.tar.gz |
QDoc: Remove Node::match
The method was unused in the codebase and is not expected to serve any
purpose in the current or future codebase.
Change-Id: I65f523c0e2989074cbffc1968ee0e8214f29982c
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/qdoc/node.cpp')
-rw-r--r-- | src/qdoc/node.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/qdoc/node.cpp b/src/qdoc/node.cpp index 21869e597..1142d446a 100644 --- a/src/qdoc/node.cpp +++ b/src/qdoc/node.cpp @@ -627,17 +627,6 @@ QString Node::fullName(const Node *relative) const } /*! - Try to match this node's type with one of the \a types. - If a match is found, return true. If no match is found, - return false. - */ -bool Node::match(const QList<int> &types) const -{ - return std::any_of(types.cbegin(), types.cend(), - [this](const int type) { return nodeType() == type; }); -} - -/*! Sets this Node's Doc to \a doc. If \a replace is false and this Node already has a Doc, and if this doc is not marked with the \\reimp command, a warning is reported that the |