From fc25a7429b29b10bb38c10aac82428df4b5713c1 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Tue, 17 Feb 2015 16:57:05 +0000 Subject: [PATCH] Addressing a post-commit review comment suggesting to avoid using direct initialization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229512 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/ADT/ArrayRefTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/ADT/ArrayRefTest.cpp b/unittests/ADT/ArrayRefTest.cpp index c6854aed4b6..4d77c478f48 100644 --- a/unittests/ADT/ArrayRefTest.cpp +++ b/unittests/ADT/ArrayRefTest.cpp @@ -91,7 +91,7 @@ TEST(ArrayRefTest, ConstConvert) { } TEST(ArrayRefTest, InitializerList) { - ArrayRef A{ 0, 1, 2, 3, 4 }; + ArrayRef A = { 0, 1, 2, 3, 4 }; for (int i = 0; i < 5; ++i) EXPECT_EQ(i, A[i]); } -- 2.34.1