Fix -Wmismatched-tags warnings

The forward declaration and the definition was not matching. Some
were forward declared as class and defined as struct.

Change-Id: I8912e6373e24126befba52df0bef8795299e50f7
Reviewed-by: Mikhail Svetkin <mikhail.svetkin@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
Jesus Fernandez 2019-01-30 15:49:51 +01:00 committed by Jesus Fernandez
parent e5e1edc718
commit b317105242
3 changed files with 6 additions and 3 deletions

View File

@ -54,8 +54,9 @@
#include <QtHttpServer/qhttpserverresponse.h>
struct QHttpServerResponsePrivate
class QHttpServerResponsePrivate
{
public:
QByteArray mimeType;
QByteArray data;
QHttpServerResponse::StatusCode statusCode;

View File

@ -61,8 +61,9 @@
QT_BEGIN_NAMESPACE
struct QHttpServerRouterPrivate
class QHttpServerRouterPrivate
{
public:
QHttpServerRouterPrivate();
QMap<int, QLatin1String> converters;

View File

@ -57,8 +57,9 @@
QT_BEGIN_NAMESPACE
struct Q_HTTPSERVER_EXPORT QHttpServerRouterRulePrivate
class Q_HTTPSERVER_EXPORT QHttpServerRouterRulePrivate
{
public:
QString pathPattern;
QHttpServerRequest::Methods methods;
QHttpServerRouterRule::RouterHandler routerHandler;