Skip to content

Commit

Permalink
Doc: QMap: Add ref-qualifiers to \fn signatures for toStd[Multi]Map()
Browse files Browse the repository at this point in the history
Because of a bug in QDoc there was never a warning reported for the
missing qualifiers.

Pick-to: 6.3
Task-number: QTBUG-101461
Change-Id: Ibb9114bc5d29e75158d2ac254169ba2a73043f0d
Reviewed-by: Luca Di Sera <[email protected]>
  • Loading branch information
toreinio committed Mar 31, 2022
1 parent 867fee2 commit 5578b47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/corelib/tools/qmap.qdoc
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
\sa toStdMap()
*/

/*! \fn template <class Key, class T> std::map<Key, T> QMap<Key, T>::toStdMap() const
/*! \fn template <class Key, class T> std::map<Key, T> QMap<Key, T>::toStdMap() const &

Returns an STL map equivalent to this QMap.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/corelib/tools/qmultimap.qdoc
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
Returns an STL multi map equivalent to this QMultiMap.
*/

/*! \fn template <class Key, class T> std::multimap<Key, T> QMultiMap<Key, T>::toStdMultiMap() const
/*! \fn template <class Key, class T> std::multimap<Key, T> QMultiMap<Key, T>::toStdMultiMap() const &

Returns an STL multi map equivalent to this QMultiMap.
*/
Expand Down

0 comments on commit 5578b47

Please sign in to comment.