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
This commit is contained in:
Vedant Kumar 2017-06-30 04:04:44 +00:00
parent 71fa2451d1
commit 3fde2d3657
1 changed files with 2 additions and 1 deletions

View File

@ -240,8 +240,9 @@ struct CoverageMappingTest : ::testing::TestWithParam<std::pair<bool, bool>> {
make_unique<CoverageMappingReaderMock>(Funcs));
}
} else {
ArrayRef<OutputFunctionCoverageData> Funcs(OutputFunctions);
CoverageReaders.push_back(
make_unique<CoverageMappingReaderMock>(OutputFunctions));
make_unique<CoverageMappingReaderMock>(Funcs));
}
return CoverageMapping::load(CoverageReaders, *ProfileReader);
}