Commit 960324a9 authored by Milo Yip's avatar Milo Yip

Try to fix gcc compilation error

parent 2a78b4da
......@@ -1082,7 +1082,7 @@ TEST(Value, ArrayHelperRangeFor) {
}
{
int i = 0;
for (auto& v : const_cast<const Value&>(x).GetArray())
for (const auto& v : const_cast<const Value&>(x).GetArray())
EXPECT_EQ(i++, v.GetInt());
EXPECT_EQ(i, 10);
}
......
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