tst_QCborValue: eliminate unused lambda

Change-Id: Icb8bd9bd170c8c22978c7d730a8c8b671705adfc
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Edward Welbourne 2018-09-14 15:23:24 +02:00
parent 4c631c0bf9
commit 56c5829384

View File

@ -1528,7 +1528,6 @@ void tst_QCborValue::toDiagnosticNotation_data()
QUuid uuid = QUuid::createUuid();
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 addRow = [=](const char *prefix) -> QTestData & {
QCborValue::Type t = v.type();