Skip to content

Commit

Permalink
compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rparolin committed Jan 23, 2019
1 parent 87967e4 commit e1b1b12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/source/TestDeque.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,9 @@ int TestDeque()
}

{
#ifndef EASTL_OPENSOURCE
auto prevAllocCount = gEASTLTest_AllocationCount;
#endif
{
EA_DISABLE_VC_WARNING(4625 4626)
struct a
Expand All @@ -1051,7 +1053,9 @@ int TestDeque()

d.erase(d.begin() + 1);
}
#ifndef EASTL_OPENSOURCE
VERIFY(gEASTLTest_AllocationCount == prevAllocCount);
#endif
}

return nErrorCount;
Expand Down

0 comments on commit e1b1b12

Please sign in to comment.