summaryrefslogtreecommitdiffstats
path: root/src/httpserver/qhttpserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/httpserver/qhttpserver.h')
-rw-r--r--src/httpserver/qhttpserver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/httpserver/qhttpserver.h b/src/httpserver/qhttpserver.h
index 80bad2c..6d754b1 100644
--- a/src/httpserver/qhttpserver.h
+++ b/src/httpserver/qhttpserver.h
@@ -89,7 +89,7 @@ private:
bool routeImpl(Args &&...args, ViewHandler &&viewHandler)
{
auto routerHandler = [this, viewHandler] (
- QRegularExpressionMatch &match,
+ const QRegularExpressionMatch &match,
const QHttpServerRequest &request,
QTcpSocket *socket) mutable {
auto boundViewHandler = router()->bindCaptured<ViewHandler, ViewTraits>(