Fixed build for windows
This commit is contained in:
parent
3280a9d398
commit
b6dade6fc8
@ -688,7 +688,7 @@ JSTransfer::JSTransfer(std::shared_ptr<tc::ft::Transfer> transfer) : _transfer(m
|
||||
this->_transfer->callback_failed = [&](std::string error) { this->call_failed(std::forward<string>(error)); };
|
||||
this->_transfer->callback_finished = [&](bool f) { this->call_finished(std::forward<bool>(f)); };
|
||||
this->_transfer->callback_start = [&] { this->call_start(); };
|
||||
this->_transfer->callback_process = [&](uint64_t a, uint64_t b) { this->call_progress.call_cpy(a, b); };
|
||||
this->_transfer->callback_process = [&](uint64_t a, uint64_t b) { this->call_progress.call_cpy(a, b, true); };
|
||||
}
|
||||
|
||||
JSTransfer::~JSTransfer() {
|
||||
|
@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <fstream>
|
||||
#include <optional>
|
||||
#include "FileTransferManager.h"
|
||||
|
||||
namespace tc {
|
||||
|
Loading…
Reference in New Issue
Block a user