[Analyzers][CPP]Turn on warning 4457 (#22149)

This commit is contained in:
sosssego
2022-11-22 19:10:46 +00:00
committed by GitHub
parent e5f171c836
commit e50cd85e9a
3 changed files with 4 additions and 4 deletions

View File

@@ -129,8 +129,8 @@ namespace JsonUtils
auto appHistoryArray = json.GetNamedArray(NonLocalizable::AppZoneHistoryIds::HistoryID);
for (uint32_t i = 0; i < appHistoryArray.Size(); ++i)
{
json::JsonObject json = appHistoryArray.GetObjectAt(i);
if (auto data = ParseSingleAppZoneHistoryItem(json); data.has_value())
json::JsonObject json_hist = appHistoryArray.GetObjectAt(i);
if (auto data = ParseSingleAppZoneHistoryItem(json_hist); data.has_value())
{
result.data.push_back(std::move(data.value()));
}