Fix warning.

This commit is contained in:
Victor Zverovich 2014-04-26 10:00:29 -07:00
parent f153f6f4b5
commit f6baab5c27

View File

@ -234,7 +234,7 @@ TEST(ArrayTest, MoveCtor) {
// Move should rip the guts of the first array. // Move should rip the guts of the first array.
EXPECT_EQ(inline_buffer_ptr, &array[0]); EXPECT_EQ(inline_buffer_ptr, &array[0]);
EXPECT_EQ("testab", std::string(&array2[0], array2.size())); EXPECT_EQ("testab", std::string(&array2[0], array2.size()));
EXPECT_GT(array2.capacity(), 5); EXPECT_GT(array2.capacity(), 5u);
} }
void CheckMoveAssignArray(const char *str, Array<char, 5> &array) { void CheckMoveAssignArray(const char *str, Array<char, 5> &array) {