forked from OSchip/llvm-project
[ORC] Use a unique_function rather than std::function for dispatchTask.
This commit is contained in:
parent
aa9b02ac75
commit
9507bace6c
|
@ -1262,7 +1262,7 @@ public:
|
|||
using ErrorReporter = std::function<void(Error)>;
|
||||
|
||||
/// For dispatching ORC tasks (typically materialization tasks).
|
||||
using DispatchTaskFunction = std::function<void(std::unique_ptr<Task> T)>;
|
||||
using DispatchTaskFunction = unique_function<void(std::unique_ptr<Task> T)>;
|
||||
|
||||
/// Construct an ExecutionSession.
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue