Commit f6baab5c authored by Victor Zverovich's avatar Victor Zverovich

Fix warning.

parent f153f6f4
...@@ -234,7 +234,7 @@ TEST(ArrayTest, MoveCtor) { ...@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment