mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-22 20:26:31 +00:00
Adding qualifier for make_unique.
Summary: MSVC gets confused. Differential Revision: http://reviews.llvm.org/D14585 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252804 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
07261cbac2
commit
4683dafb93
@ -116,7 +116,7 @@ class CoverageData {
|
||||
return make_error_code(errc::illegal_byte_sequence);
|
||||
}
|
||||
|
||||
auto Addrs = make_unique<std::vector<uint64_t>>();
|
||||
auto Addrs = llvm::make_unique<std::vector<uint64_t>>();
|
||||
|
||||
switch (Header->Bitness) {
|
||||
case Bitness64:
|
||||
@ -143,7 +143,7 @@ class CoverageData {
|
||||
for (const auto &Cov : Covs)
|
||||
Addrs.insert(Cov->Addrs->begin(), Cov->Addrs->end());
|
||||
|
||||
auto AddrsVector = make_unique<std::vector<uint64_t>>(
|
||||
auto AddrsVector = llvm::make_unique<std::vector<uint64_t>>(
|
||||
Addrs.begin(), Addrs.end());
|
||||
return std::unique_ptr<CoverageData>(
|
||||
new CoverageData(std::move(AddrsVector)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user