From 1123f98f74b096157946b8e982057f195bc92209 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Sat, 15 Jan 2011 16:17:33 +0200 Subject: [PATCH] [GCC] Fixed base_tests --- base/base_tests/buffer_vector_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/base_tests/buffer_vector_test.cpp b/base/base_tests/buffer_vector_test.cpp index e8fe451270..b63ef6cc8d 100644 --- a/base/base_tests/buffer_vector_test.cpp +++ b/base/base_tests/buffer_vector_test.cpp @@ -78,7 +78,8 @@ UNIT_TEST(BufferVectorSwap) v1.resize(7); TEST_EQUAL ( v1[0].size(), 1, () ); TEST_EQUAL ( v1[0][0], 666, () ); - TEST_NOT_EQUAL ( dd1, v1[0].data(), () ); + // stl implementation can reuse buffer of vector after clear + //TEST_NOT_EQUAL ( dd1, v1[0].data(), () ); } {