diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-25 12:30:42 +0200 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-26 14:35:48 +0200 |
| commit | 0ebe1708e2376dea4f5f85f963f5f7d8afad3ddc (patch) | |
| tree | 9d86704230b37bdb0be45f94ec71dcb3a1f981c9 /src | |
| parent | 02dd77fa807a098a14598d8f6cefe6f266a18495 (diff) | |
Fix qdoc warnings in QStringView
Fix prototype of template member function, and fix see-also reference.
Change-Id: Ibb39925063dfeb3fd511f47a1606a0b243d4c2ef
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src')
| -rw-r--r-- | src/corelib/text/qstringview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/text/qstringview.cpp b/src/corelib/text/qstringview.cpp index 35456cce77d..ca9b6d1b7b9 100644 --- a/src/corelib/text/qstringview.cpp +++ b/src/corelib/text/qstringview.cpp @@ -324,7 +324,7 @@ QT_BEGIN_NAMESPACE */ /*! - \fn template <typename Char, size_t Size> static QStringView fromArray(const Char (&string)[Size]) noexcept + \fn template <typename Char, size_t Size> static QStringView QStringView::fromArray(const Char (&string)[Size]) noexcept Constructs a string view on the full character string literal \a string, including any trailing \c{Char(0)}. If you don't want the @@ -669,7 +669,7 @@ QT_BEGIN_NAMESPACE \note The behavior is undefined when \a n < 0 or \a n > size(). - \sa last(), subString(), startsWith(), chopped(), chop(), truncate() + \sa last(), sliced(), startsWith(), chopped(), chop(), truncate() */ /*! @@ -680,7 +680,7 @@ QT_BEGIN_NAMESPACE \note The behavior is undefined when \a n < 0 or \a n > size(). - \sa first(), subString(), endsWith(), chopped(), chop(), truncate() + \sa first(), sliced(), endsWith(), chopped(), chop(), truncate() */ /*! |
