mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-27 21:31:20 +00:00
Fix warning.
This commit is contained in:
parent
f153f6f4b5
commit
f6baab5c27
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user