Addressing a post-commit review comment suggesting to avoid using direct initialization.

llvm-svn: 229512
This commit is contained in:
Aaron Ballman 2015-02-17 16:57:05 +00:00
parent ab7e86e5be
commit fb28a60d6d
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ TEST(ArrayRefTest, ConstConvert) {
}
TEST(ArrayRefTest, InitializerList) {
ArrayRef<int> A{ 0, 1, 2, 3, 4 };
ArrayRef<int> A = { 0, 1, 2, 3, 4 };
for (int i = 0; i < 5; ++i)
EXPECT_EQ(i, A[i]);
}