Fix assert message

It's out-dated now, still referring to rvalue refs

Pick-to: 6.8 6.8.0
Change-Id: I07b7b098cc2d261908c4c8b115f3d19c74468e39
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Mårten Nordheim 2024-09-12 16:11:41 +02:00 committed by Volker Hilsheimer
parent 2c2dc9e15c
commit 6e7b76131a
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ struct RouterViewTraitsHelper : ViewTraits<ViewHandler, DisableStaticAssert> {
using IsResponder = typename VTraits::template Special<I, QHttpServerResponder &>;
static_assert(IsResponder::AssertCondition,
"ViewHandler arguments error: "
"QHttpServerResponder can only be passed as an rvalue reference");
"QHttpServerResponder can only be passed as a reference");
using IsSpecial = CheckAny<IsRequest, IsResponder>;