mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-05 16:49:08 +00:00
Fix macos
This commit is contained in:
@@ -14,9 +14,7 @@ ProgressCallback ProgressCallbackWrapper::Wrap(const ProgressCallback& callback)
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
ProgressCallback ProgressCallbackWrapper::Wrap(
|
ProgressCallback ProgressCallbackWrapper::Wrap(const std::function<void(u64, u64, u64)>& callback) {
|
||||||
const std::function<void(std::size_t, std::size_t, std::size_t)>& callback) {
|
|
||||||
|
|
||||||
current_done_size += current_pending_size; // Last content finished
|
current_done_size += current_pending_size; // Last content finished
|
||||||
return [this, callback](std::size_t current, std::size_t total) {
|
return [this, callback](std::size_t current, std::size_t total) {
|
||||||
current_pending_size = total;
|
current_pending_size = total;
|
||||||
|
|||||||
Reference in New Issue
Block a user