diff options
| author | Josh Ferrell <josh@vector35.com> | 2024-08-20 15:22:09 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2024-08-20 15:22:09 -0400 |
| commit | a48cc7e466cbbed8abf465d30fb03d867ce07185 (patch) | |
| tree | e08d7476c986c31e8d64a01ed3eb748635636c0e /interaction.cpp | |
| parent | 46b26cf9f4a8eee8e94f86532220e61120c2a54d (diff) | |
Update progress functions to use BNProgressFunction typedef
Diffstat (limited to 'interaction.cpp')
| -rw-r--r-- | interaction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interaction.cpp b/interaction.cpp index 5b62084e..973bde38 100644 --- a/interaction.cpp +++ b/interaction.cpp @@ -719,7 +719,7 @@ struct TaskContext }; -static void TaskCallback(void* taskCtxt, bool (*progress)(void*, size_t, size_t), void* progressCtxt) +static void TaskCallback(void* taskCtxt, BNProgressFunction progress, void* progressCtxt) { TaskContext* context = (TaskContext*)taskCtxt; context->callback([=](size_t cur, size_t max) { |
