doc: Correct remaining qdoc warnings in qbytearraymatcher.cpp

clang required adding template clauses to a few \fn commands.

Change-Id: I5877c7bebd6a8a7b2630addb656d32e6f2043cf1
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
bb10
Martin Smith 2018-01-03 14:01:48 +01:00
parent f95fbca5f3
commit 5211f785ff
1 changed files with 6 additions and 6 deletions

View File

@ -370,7 +370,7 @@ int qFindByteArray(
*/
/*!
\fn int QStaticByteArrayMatcher::indexIn(const char *haystack, int hlen, int from = 0) const
\fn template <uint N> int QStaticByteArrayMatcher<N>::indexIn(const char *haystack, int hlen, int from = 0) const
Searches the char string \a haystack, which has length \a hlen, from
byte position \a from (default 0, i.e. from the first byte), for
@ -380,7 +380,7 @@ int qFindByteArray(
*/
/*!
\fn int QStaticByteArrayMatcher::indexIn(const QByteArray &haystack, int from = 0) const
\fn template <uint N> int QStaticByteArrayMatcher<N>::indexIn(const QByteArray &haystack, int from = 0) const
Searches the char string \a haystack, from byte position \a from
(default 0, i.e. from the first byte), for the byte array pattern()
@ -390,12 +390,12 @@ int qFindByteArray(
*/
/*!
\fn QByteArray QStaticByteArrayMatcher::pattern() const
\fn template <uint N> QByteArray QStaticByteArrayMatcher<N>::pattern() const
Returns the byte array pattern that this byte array matcher will
search for.
\sa setPattern()
\sa QByteArrayMatcher::setPattern()
*/
/*!
@ -410,12 +410,12 @@ int QStaticByteArrayMatcherBase::indexOfIn(const char *needle, uint nlen, const
}
/*!
\fn QStaticByteArrayMatcher::QStaticByteArrayMatcher(const char (&pattern)[N])
\fn template <uint N> QStaticByteArrayMatcher<N>::QStaticByteArrayMatcher(const char (&pattern)[N])
\internal
*/
/*!
\fn QStaticByteArrayMatcher qMakeStaticByteArrayMatcher(const char (&pattern)[N])
\fn template <uint N> QStaticByteArrayMatcher qMakeStaticByteArrayMatcher(const char (&pattern)[N])
\since 5.9
\relates QStaticByteArrayMatcher