diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2024-05-06 12:09:25 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2024-05-06 12:55:34 +0200 |
commit | 7dbcceff6f68521d32e5cd7036c8a0be7ea847ce (patch) | |
tree | d45ad6e7f6be51ac375dee0268c4e53a7776c960 | |
parent | a0af3980be2e0afe1f4deed5248f09aeebec4cc5 (diff) |
Doc: fix warnings from undocumented parameter
Move assignment operators might be self-explanatory, but if
we document them, then we need to document the parameters.
Change-Id: I794ed7d023c3dde3f80ed7273889b7cf9a2113d6
Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
-rw-r--r-- | src/coap/qcoapmessage.cpp | 2 | ||||
-rw-r--r-- | src/coap/qcoapoption.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/coap/qcoapmessage.cpp b/src/coap/qcoapmessage.cpp index 20df804..7b441d5 100644 --- a/src/coap/qcoapmessage.cpp +++ b/src/coap/qcoapmessage.cpp @@ -383,7 +383,7 @@ void QCoapMessage::swap(QCoapMessage &other) noexcept } /*! - Move-assignment operator. + Moves \a other into this message and returns a reference to this QCoapMessage. */ QCoapMessage &QCoapMessage::operator=(QCoapMessage &&other) noexcept { diff --git a/src/coap/qcoapoption.cpp b/src/coap/qcoapoption.cpp index dcff6a9..5c68837 100644 --- a/src/coap/qcoapoption.cpp +++ b/src/coap/qcoapoption.cpp @@ -144,7 +144,7 @@ QCoapOption &QCoapOption::operator=(const QCoapOption &other) } /*! - Move-assignment operator. + Moves \a other into this option and returns a reference to this QCoapOption. */ QCoapOption &QCoapOption::operator=(QCoapOption &&other) noexcept { |