QJsonValueConstRef: remove duplicate Q_ASSERT in objectKey()
Amends 14d1108d3562f6e409505ba49b7bce82d70bd64f. Change-Id: I9fcfb864254d040cd1de8aa0dc818ccd9104487b Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> (cherry picked from commit 6aaa874d79805dc6407a68e56f8d9ee128ad37bc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 6dd6836227c3bce065e54d8562ed311acdacdd5f)
This commit is contained in:
parent
fce2a17a9c
commit
a70a92314e
@ -1017,7 +1017,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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user