Based on discussion around T107 and slack

* Use CJsonScope scope("MetaData") for stacktrace
* added Q_UNUSED(scope) to avoid QtC warnings
This commit is contained in:
Klaus Basan
2017-07-14 15:13:57 +02:00
committed by Mathew Sutcliffe
parent c4db854fad
commit 94c9886c35
8 changed files with 21 additions and 3 deletions

View File

@@ -273,10 +273,12 @@ namespace BlackMisc
Value val;
{
CJsonScope scope("associativecontainerbase", 2 * index);
Q_UNUSED(scope);
jsonKey >> key;
}
{
CJsonScope scope("associativecontainerbase", 2 * index++ + 1);
Q_UNUSED(scope);
jsonValue >> val;
}
m_impl.insert(std::move(key), std::move(val));