From a9550c5a43f374bb954d97d1662beec48feea2df Mon Sep 17 00:00:00 2001 From: alesapin Date: Sat, 12 Jan 2019 10:19:18 +0300 Subject: [PATCH] Update ExpressionJIT.cpp --- dbms/src/Interpreters/ExpressionJIT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Interpreters/ExpressionJIT.cpp b/dbms/src/Interpreters/ExpressionJIT.cpp index f41be9d6b97..223594db9b2 100644 --- a/dbms/src/Interpreters/ExpressionJIT.cpp +++ b/dbms/src/Interpreters/ExpressionJIT.cpp @@ -190,7 +190,7 @@ auto wrapJITSymbolResolver(llvm::JITSymbolResolver & jsr) #endif #if LLVM_VERSION_MAJOR >= 7 -using ModulePtr = std::shared_ptr; +using ModulePtr = std::unique_ptr; #else using ModulePtr = std::shared_ptr; #endif