diff options
author | Davide Italiano <davide@freebsd.org> | 2017-03-09 23:48:58 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2017-03-09 23:48:58 +0000 |
commit | 96acf92927352f99d8faa7a5223109bf957904da (patch) | |
tree | 2b060fd971d8f6eeb76f2e9f34c49d553b898206 /unittests | |
parent | 06c6e465217b40b3aa2a97d64da78e1ff7edfe75 (diff) |
[Unittests] Fix a build failure with clang 3.8. NFCI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297423 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/ADT/STLExtrasTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/ADT/STLExtrasTest.cpp b/unittests/ADT/STLExtrasTest.cpp index f17d24f36b2..6c162de6d37 100644 --- a/unittests/ADT/STLExtrasTest.cpp +++ b/unittests/ADT/STLExtrasTest.cpp @@ -69,7 +69,7 @@ TEST(STLExtrasTest, EnumerateLValue) { // Test an empty range. IntResults.clear(); - const std::vector<int> baz; + const std::vector<int> baz{}; for (auto X : llvm::enumerate(baz)) { IntResults.emplace_back(X.Index, X.Value); } |