Skip to content

Commit

Permalink
Doc: fix qdoc warning from wrong see-also
Browse files Browse the repository at this point in the history
Only QByteArray has a toHex() member, QByteArrayView doesn't.
Since toHex() is linked to from result() already, remove it here
to avoid the wrong impression that there was a toHex() that doesn't
require any memory allocation.

Change-Id: I76f876aca90403baebf9328b794aeaf9be698c46
Reviewed-by: Luca Di Sera <[email protected]>
Reviewed-by: Paul Wicking <[email protected]>
  • Loading branch information
vohi committed Sep 5, 2021
1 parent 2262744 commit 5f3df6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/corelib/tools/qcryptographichash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ QByteArray QCryptographicHash::result() const
Note that the returned view remains valid only as long as the QCryptographicHash object is
not modified by other means.
\sa result(), QByteArrayView::toHex()
\sa result()
*/
QByteArrayView QCryptographicHash::resultView() const noexcept
{
Expand Down

0 comments on commit 5f3df6e

Please sign in to comment.