Remove unnecessary template specification for lock_guard

This commit is contained in:
Alexander Bock
2021-07-30 14:48:08 +02:00
parent f6d74870bb
commit 5b3a66156c
11 changed files with 24 additions and 24 deletions

View File

@@ -228,7 +228,7 @@ bool HttpSynchronization::trySyncFromUrl(std::string listUrl) {
return !_shouldCancel;
}
std::lock_guard<std::mutex> guard(sizeDataMutex);
std::lock_guard guard(sizeDataMutex);
sizeData[line] = { p.totalBytesKnown, p.totalBytes, p.downloadedBytes };