From 79f53b0cf1fd204af0a09c8e085dd09a1ce0b6d9 Mon Sep 17 00:00:00 2001 From: Jacques Pienaar Date: Sat, 17 Aug 2019 11:05:35 -0700 Subject: Change from llvm::make_unique to std::make_unique Switch to C++14 standard method as llvm::make_unique has been removed ( https://reviews.llvm.org/D66259). Also mark some targets as c++14 to ease next integrates. PiperOrigin-RevId: 263953918 --- mlir/lib/Quantizer/Transforms/AddDefaultStatsTestPass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mlir/lib/Quantizer/Transforms/AddDefaultStatsTestPass.cpp') diff --git a/mlir/lib/Quantizer/Transforms/AddDefaultStatsTestPass.cpp b/mlir/lib/Quantizer/Transforms/AddDefaultStatsTestPass.cpp index 4868d3be291..a2d38ce211d 100644 --- a/mlir/lib/Quantizer/Transforms/AddDefaultStatsTestPass.cpp +++ b/mlir/lib/Quantizer/Transforms/AddDefaultStatsTestPass.cpp @@ -119,7 +119,7 @@ void AddDefaultStatsPass::runWithConfig(SolverContext &solverContext, } std::unique_ptr mlir::quantizer::createAddDefaultStatsPass() { - return llvm::make_unique(); + return std::make_unique(); } static PassRegistration pass( -- cgit v1.2.3