mirror of
https://github.com/QuasarApp/qthttpserver.git
synced 2025-04-27 19:04:31 +00:00
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:
parent
e5e1edc718
commit
b317105242
@ -54,8 +54,9 @@
|
||||
|
||||
#include <QtHttpServer/qhttpserverresponse.h>
|
||||
|
||||
struct QHttpServerResponsePrivate
|
||||
class QHttpServerResponsePrivate
|
||||
{
|
||||
public:
|
||||
QByteArray mimeType;
|
||||
QByteArray data;
|
||||
QHttpServerResponse::StatusCode statusCode;
|
||||
|
@ -61,8 +61,9 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
struct QHttpServerRouterPrivate
|
||||
class QHttpServerRouterPrivate
|
||||
{
|
||||
public:
|
||||
QHttpServerRouterPrivate();
|
||||
|
||||
QMap<int, QLatin1String> converters;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user