Skip to content

Commit

Permalink
update c++ samples
Browse files Browse the repository at this point in the history
  • Loading branch information
wing328 committed May 16, 2023
1 parent 87ea870 commit 0d1f562
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ bool ModelBase::fromJson( const web::json::value& val, std::vector<T> &outVal )
bool ok = true;
if (val.is_array())
{
for (const auto jitem : val.as_array())
for (const web::json::value & jitem : val.as_array())
{
T item;
ok &= fromJson(jitem, item);
Expand Down

0 comments on commit 0d1f562

Please sign in to comment.