From 5211f785ff972e35f08a72c5713cef5c14929a8a Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Wed, 3 Jan 2018 14:01:48 +0100 Subject: doc: Correct remaining qdoc warnings in qbytearraymatcher.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit clang required adding template clauses to a few \fn commands. Change-Id: I5877c7bebd6a8a7b2630addb656d32e6f2043cf1 Reviewed-by: Topi Reiniƶ --- src/corelib/tools/qbytearraymatcher.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/corelib/tools') diff --git a/src/corelib/tools/qbytearraymatcher.cpp b/src/corelib/tools/qbytearraymatcher.cpp index 252545c782..06d01f9829 100644 --- a/src/corelib/tools/qbytearraymatcher.cpp +++ b/src/corelib/tools/qbytearraymatcher.cpp @@ -370,7 +370,7 @@ int qFindByteArray( */ /*! - \fn int QStaticByteArrayMatcher::indexIn(const char *haystack, int hlen, int from = 0) const + \fn template int QStaticByteArrayMatcher::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 int QStaticByteArrayMatcher::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 QByteArray QStaticByteArrayMatcher::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 QStaticByteArrayMatcher::QStaticByteArrayMatcher(const char (&pattern)[N]) \internal */ /*! - \fn QStaticByteArrayMatcher qMakeStaticByteArrayMatcher(const char (&pattern)[N]) + \fn template QStaticByteArrayMatcher qMakeStaticByteArrayMatcher(const char (&pattern)[N]) \since 5.9 \relates QStaticByteArrayMatcher -- cgit v1.2.3