more fixes for Code

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-20 14:48:42 -07:00
parent a35464ca08
commit 9245a31196
54 changed files with 97 additions and 121 deletions
+2 -2
View File
@@ -2837,7 +2837,7 @@ namespace UnitTest
handlerList.emplace_back(i, maxSleep);
}
auto work = [maxSleep, threadCount]()
auto work = []()
{
char sentinel[64] = { 0 };
char* end = sentinel + AZ_ARRAY_SIZE(sentinel);
@@ -2923,7 +2923,7 @@ namespace UnitTest
MyEventGroupImpl handler;
auto work = [maxSleep, &handler]()
auto work = [&handler]()
{
for (int i = 1; i < cycleCount; ++i)
{