diff options
Diffstat (limited to 'src/opcua/client/qopcuacontentfilterelement.cpp')
-rw-r--r-- | src/opcua/client/qopcuacontentfilterelement.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/opcua/client/qopcuacontentfilterelement.cpp b/src/opcua/client/qopcuacontentfilterelement.cpp index ef4dda0..ff60b20 100644 --- a/src/opcua/client/qopcuacontentfilterelement.cpp +++ b/src/opcua/client/qopcuacontentfilterelement.cpp @@ -86,11 +86,16 @@ QOpcUaContentFilterElement &QOpcUaContentFilterElement::operator=(const QOpcUaCo } /*! - Returns \c true if this content filter element has the same value as \a rhs. + \fn bool QOpcUaContentFilterElement::operator==(const QOpcUaContentFilterElement &lhs, + const QOpcUaContentFilterElement &rhs) + + Returns \c true if \a lhs has the same value as \a rhs. */ -bool QOpcUaContentFilterElement::operator==(const QOpcUaContentFilterElement &rhs) const +bool comparesEqual(const QOpcUaContentFilterElement &lhs, + const QOpcUaContentFilterElement &rhs) noexcept { - return filterOperator() == rhs.filterOperator() && filterOperands() == rhs.filterOperands(); + return lhs.filterOperator() == rhs.filterOperator() + && lhs.filterOperands() == rhs.filterOperands(); } /*! |