From 97aea07ccc0c6029579c1a25d46f8bb4f6716090 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Sun, 23 Jan 2011 20:58:59 +0100 Subject: [PATCH] Fixed warning --- geometry/geometry_tests/simplification_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/geometry/geometry_tests/simplification_test.cpp b/geometry/geometry_tests/simplification_test.cpp index b15a3e4518..b7588e8267 100644 --- a/geometry/geometry_tests/simplification_test.cpp +++ b/geometry/geometry_tests/simplification_test.cpp @@ -136,7 +136,9 @@ namespace TEST_EQUAL(arr[n-1], vec.back(), ()); if (expectedCount > 0) + { TEST_EQUAL(expectedCount, vec.size(), ()); + } for (size_t i = 2; i < vec.size(); ++i) {