[PATCH] D14585: Adding qualifier for make_unique.
Mike Aizatsky via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 11 13:30:37 PST 2015
aizatsky updated this revision to Diff 39966.
aizatsky added a comment.
another one
http://reviews.llvm.org/D14585
Files:
tools/sancov/sancov.cc
Index: tools/sancov/sancov.cc
===================================================================
--- tools/sancov/sancov.cc
+++ tools/sancov/sancov.cc
@@ -116,7 +116,7 @@
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 @@
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)));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14585.39966.patch
Type: text/x-patch
Size: 790 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151111/228c7725/attachment.bin>
More information about the llvm-commits
mailing list