Fix compile error
This is the same issue as in rBbcf49d13e53454.
This commit is contained in:
parent
8262e37d22
commit
0949140d36
|
@ -94,7 +94,7 @@ TEST(map, PopTry)
|
||||||
value = map.pop_try(2);
|
value = map.pop_try(2);
|
||||||
EXPECT_EQ(map.size(), 1u);
|
EXPECT_EQ(map.size(), 1u);
|
||||||
EXPECT_TRUE(value.has_value());
|
EXPECT_TRUE(value.has_value());
|
||||||
EXPECT_EQ(value.value(), 7);
|
EXPECT_EQ(*value, 7);
|
||||||
EXPECT_EQ(*map.pop_try(1), 5);
|
EXPECT_EQ(*map.pop_try(1), 5);
|
||||||
EXPECT_EQ(map.size(), 0u);
|
EXPECT_EQ(map.size(), 0u);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue