From 3fde2d3657089252f121682c64de13ffe8290349 Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Fri, 30 Jun 2017 04:04:44 +0000 Subject: Try to appease a buildbot. The failure is: C:\ps4-buildslave2\llvm-clang-x86_64-expensive-checks-win\llvm\unittests\ProfileData\CoverageMappingTest.cpp(244): error C2668: 'llvm::make_unique': ambiguous call to overloaded function http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/3489/ llvm-svn: 306784 --- llvm/unittests/ProfileData/CoverageMappingTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/unittests/ProfileData/CoverageMappingTest.cpp') diff --git a/llvm/unittests/ProfileData/CoverageMappingTest.cpp b/llvm/unittests/ProfileData/CoverageMappingTest.cpp index 9cd186ac4bc..1d621f4060c 100644 --- a/llvm/unittests/ProfileData/CoverageMappingTest.cpp +++ b/llvm/unittests/ProfileData/CoverageMappingTest.cpp @@ -240,8 +240,9 @@ struct CoverageMappingTest : ::testing::TestWithParam> { make_unique(Funcs)); } } else { + ArrayRef Funcs(OutputFunctions); CoverageReaders.push_back( - make_unique(OutputFunctions)); + make_unique(Funcs)); } return CoverageMapping::load(CoverageReaders, *ProfileReader); } -- cgit v1.2.3