From 461aeca0735ee76f1a8d3ba10ddcca28bb62f9c0 Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Fri, 30 Jun 2017 04:04:44 +0000 Subject: [PATCH] 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/ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306784 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/ProfileData/CoverageMappingTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unittests/ProfileData/CoverageMappingTest.cpp b/unittests/ProfileData/CoverageMappingTest.cpp index 9cd186ac4bc..1d621f4060c 100644 --- a/unittests/ProfileData/CoverageMappingTest.cpp +++ b/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); } -- 2.50.0