diff options
| author | Glenn Smith <glenn@vector35.com> | 2025-04-24 14:46:37 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2025-04-25 13:43:01 -0400 |
| commit | 9262278979709181414664053523657355762707 (patch) | |
| tree | c472e0620b1fdfe3b3c9fd26c7cbf41425b27740 /examples/background_task | |
| parent | 4aac12b0e429fedb02a645e5eb82ca2d88902e25 (diff) | |
std::function<bool(size_t,size_t)> ==> ProgressFunction
Diffstat (limited to 'examples/background_task')
| -rw-r--r-- | examples/background_task/src/backgroundtask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/background_task/src/backgroundtask.cpp b/examples/background_task/src/backgroundtask.cpp index 8a307080..9b0a17be 100644 --- a/examples/background_task/src/backgroundtask.cpp +++ b/examples/background_task/src/backgroundtask.cpp @@ -41,7 +41,7 @@ uint64_t InspireWriteCallback(uint8_t *data, uint64_t len, void *ctxt) return len; } -bool InspireProgressCallback(void *ctxt, uint64_t progress, uint64_t total) +bool InspireProgressCallback(void *ctxt, size_t progress, size_t total) { // Close connection on cancellation return !inspireBackgroundTask->IsCancelled(); |
