[ORC] Use a unique_function rather than std::function for dispatchTask.

This commit is contained in:
Lang Hames 2021-05-10 12:34:52 -07:00
parent aa9b02ac75
commit 9507bace6c
1 changed files with 1 additions and 1 deletions

View File

@ -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.
///