From e1b1b12c267e0f6072a19284396215e5457e3000 Mon Sep 17 00:00:00 2001 From: Rob Parolin Date: Wed, 23 Jan 2019 11:23:30 -0800 Subject: [PATCH] compile fix --- test/source/TestDeque.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/source/TestDeque.cpp b/test/source/TestDeque.cpp index 4cd93e92..6c86731f 100644 --- a/test/source/TestDeque.cpp +++ b/test/source/TestDeque.cpp @@ -1029,7 +1029,9 @@ int TestDeque() } { + #ifndef EASTL_OPENSOURCE auto prevAllocCount = gEASTLTest_AllocationCount; + #endif { EA_DISABLE_VC_WARNING(4625 4626) struct a @@ -1051,7 +1053,9 @@ int TestDeque() d.erase(d.begin() + 1); } + #ifndef EASTL_OPENSOURCE VERIFY(gEASTLTest_AllocationCount == prevAllocCount); + #endif } return nErrorCount;