mirror of https://github.com/qt/qthttpserver.git
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:
parent
2c2dc9e15c
commit
6e7b76131a
|
@ -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>;
|
||||
|
||||
|
|
Loading…
Reference in New Issue