diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-03 09:45:45 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-03 09:45:45 +0200 |
commit | d5e14a8f61e4a8f5cf82722d479f14c7581bcec7 (patch) | |
tree | 9ff1599b799ce3090656a27d074e030243ba9a4a /searchlib/src/tests/common | |
parent | 3cd9c747e62ee82edfb5fedf4415f5daa45b3ab3 (diff) |
Fix warnings hidden earlier due to including application headers as system includes
Diffstat (limited to 'searchlib/src/tests/common')
-rw-r--r-- | searchlib/src/tests/common/rcuvector/rcuvector_test.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/searchlib/src/tests/common/rcuvector/rcuvector_test.cpp b/searchlib/src/tests/common/rcuvector/rcuvector_test.cpp index cd6ae2c2567..9361b35ada9 100644 --- a/searchlib/src/tests/common/rcuvector/rcuvector_test.cpp +++ b/searchlib/src/tests/common/rcuvector/rcuvector_test.cpp @@ -1,7 +1,5 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <vespa/fastos/fastos.h> -#include <vespa/log/log.h> -LOG_SETUP("rcuvector_test"); + #include <vespa/vespalib/testkit/testapp.h> #include <vespa/searchlib/common/rcuvector.h> @@ -278,8 +276,8 @@ TEST_F("require that shrink() does not increase allocated memory", ShrinkFixture TEST_F("require that shrink() can shrink mmap allocation", ShrinkFixture) { f.vec.shrink(2048); - EXPECT_EQUAL(2048, f.vec.size()); - EXPECT_EQUAL(3072, f.vec.capacity()); + EXPECT_EQUAL(2048u, f.vec.size()); + EXPECT_EQUAL(3072u, f.vec.capacity()); TEST_DO(f.assertOldEqualNewBuffer()); TEST_DO(f.assertEmptyHoldList()); } |