diff options
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h')
-rw-r--r-- | llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h b/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h index 395c0f8e32d..29e98619301 100644 --- a/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h +++ b/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h @@ -53,7 +53,7 @@ public: static constexpr const size_t kAlignment = 1024; static constexpr const size_t kSize = 1 << 20; // 1MB. ScratchSpace() - : UnalignedPtr(llvm::make_unique<char[]>(kSize + kAlignment)), + : UnalignedPtr(std::make_unique<char[]>(kSize + kAlignment)), AlignedPtr( UnalignedPtr.get() + kAlignment - (reinterpret_cast<intptr_t>(UnalignedPtr.get()) % kAlignment)) {} |