diff --git a/tests/QBind/QCbor_impl.h b/tests/QBind/QCbor_impl.h index e6ed22e326a5e3c93105179cf81af8c5867df133..f1500974765d4a7dd450e01476e090156a0faec1 100644 --- a/tests/QBind/QCbor_impl.h +++ b/tests/QBind/QCbor_impl.h @@ -198,7 +198,7 @@ protected: bool tryBind ( bool&& b) { set(QCborValue( b )); return true; } bool tryBind ( float&& d) { set(QCborValue(double(d))); return true; } bool tryBind ( double&& d) { set(QCborValue( d )); return true; } - bool tryBind ( quint64&& n) { if (std::numeric_limits::max()::max())mode()"); return v.null(); } } private: QStack parentIds; @@ -234,6 +235,7 @@ private: return std::move(s); } + else { Q_ASSERT_X(!s, Q_FUNC_INFO, "Unsupported v->mode()"); return std::move(s); } } QSequence flatten(QList& ps, QSequence&& s) {