mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 23:48:56 +00:00
[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
This commit is contained in:
parent
06c6e46521
commit
96acf92927
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user