tst_QCborValue: eliminate unused lambda
Change-Id: Icb8bd9bd170c8c22978c7d730a8c8b671705adfc Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
4c631c0bf9
commit
56c5829384
@ -1528,7 +1528,6 @@ void tst_QCborValue::toDiagnosticNotation_data()
|
|||||||
QUuid uuid = QUuid::createUuid();
|
QUuid uuid = QUuid::createUuid();
|
||||||
|
|
||||||
QMetaEnum me = QMetaEnum::fromType<QCborValue::Type>();
|
QMetaEnum me = QMetaEnum::fromType<QCborValue::Type>();
|
||||||
auto st = [](QCborSimpleType t) { return QVariant::fromValue<SimpleTypeWrapper>(t); };
|
|
||||||
auto add = [me](const QCborValue &v, const QString &exp) {
|
auto add = [me](const QCborValue &v, const QString &exp) {
|
||||||
auto addRow = [=](const char *prefix) -> QTestData & {
|
auto addRow = [=](const char *prefix) -> QTestData & {
|
||||||
QCborValue::Type t = v.type();
|
QCborValue::Type t = v.type();
|
||||||
|
Loading…
Reference in New Issue
Block a user