Skip to content

Commit

Permalink
Array size doesn't change after every loop iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
AGulev committed Sep 24, 2019
1 parent 0c614dc commit 5d24482
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gpgs/src/gpgs_callback.cpp
Expand Up @@ -150,8 +150,7 @@ void gpgs_callback_update()
free(data->json);
data->json = 0;
}
m_callbacksQueue.EraseSwap(i--);
}

m_callbacksQueue.SetSize(0);
}
#endif
#endif

0 comments on commit 5d24482

Please sign in to comment.