X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=include%2Fllvm%2FExecutionEngine%2FOrc%2FObjectLinkingLayer.h;h=03b43aa3272d429369244148864a2b0c6bad202e;hp=568f105166955fffb5da7002e3d9e1583ccc62eb;hb=a73abdb6809f4565b42bf66525200b0ea3cf332a;hpb=d09c631f071640130c0c91f8f8c219ea31a23f32 diff --git a/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h b/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h index 568f1051669..03b43aa3272 100644 --- a/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h +++ b/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h @@ -115,9 +115,9 @@ public: /// @brief Construct an ObjectLinkingLayer with the given NotifyLoaded, /// NotifyFinalized and CreateMemoryManager functors. ObjectLinkingLayer( - CreateRTDyldMMFtor CreateMemoryManager, - NotifyLoadedFtor NotifyLoaded, - NotifyFinalizedFtor NotifyFinalized) + CreateRTDyldMMFtor CreateMemoryManager = CreateRTDyldMMFtor(), + NotifyLoadedFtor NotifyLoaded = NotifyLoadedFtor(), + NotifyFinalizedFtor NotifyFinalized = NotifyFinalizedFtor()) : NotifyLoaded(std::move(NotifyLoaded)), NotifyFinalized(std::move(NotifyFinalized)), CreateMemoryManager(std::move(CreateMemoryManager)) {}