Cleanup code

This commit is contained in:
Emil Axelsson
2017-12-19 11:48:30 +01:00
parent f7dc598f60
commit 09182c9274
13 changed files with 18 additions and 372 deletions

View File

@@ -122,7 +122,10 @@ void TorrentClient::pollAlerts() {
}
}
TorrentClient::TorrentId TorrentClient::addTorrentFile(std::string torrentFile, std::string destination, TorrentProgressCallback cb) {
TorrentClient::TorrentId TorrentClient::addTorrentFile(std::string torrentFile,
std::string destination,
TorrentProgressCallback cb)
{
std::lock_guard<std::mutex> guard(_mutex);
if (!_session) {