QJsonValueConstRef: remove duplicate Q_ASSERT in objectKey()

Amends 14d1108d3562f6e409505ba49b7bce82d70bd64f.

Pick-to: 6.9 6.8
Change-Id: I9fcfb864254d040cd1de8aa0dc818ccd9104487b
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
Marc Mutz 2025-02-11 11:25:39 +01:00
parent 51979cfa17
commit 6aaa874d79

View File

@ -1075,7 +1075,6 @@ QJsonValue QJsonValueConstRef::concrete(QJsonValueConstRef self) noexcept
QString QJsonValueConstRef::objectKey(QJsonValueConstRef self)
{
Q_ASSERT(self.is_object);
Q_ASSERT(self.is_object);
const QCborContainerPrivate *d = QJsonPrivate::Value::container(self);
qsizetype index = QJsonPrivate::Value::indexHelper(self);