Fixed several compilation warnings

This commit is contained in:
Benoit Steiner
2016-04-21 11:03:02 -07:00
parent 6015422ee6
commit f670613e4b
3 changed files with 4 additions and 4 deletions

View File

@@ -30,11 +30,11 @@ void test_basic_runqueue()
RunQueue<int, 4> q;
// Check empty state.
VERIFY(q.Empty());
VERIFY_IS_EQUAL(0, q.Size());
VERIFY_IS_EQUAL(0u, q.Size());
VERIFY_IS_EQUAL(0, q.PopFront());
std::vector<int> stolen;
VERIFY_IS_EQUAL(0, q.PopBackHalf(&stolen));
VERIFY_IS_EQUAL(0, stolen.size());
VERIFY_IS_EQUAL(0u, stolen.size());
// Push one front, pop one front.
VERIFY_IS_EQUAL(0, q.PushFront(1));
VERIFY_IS_EQUAL(1, q.Size());