Fix build

This commit is contained in:
kssenii 2023-02-17 13:46:30 +01:00
parent 0bceb5957a
commit d051ee9a1e

View File

@ -668,7 +668,7 @@ String FileSegment::getInfoForLogUnlocked(const FileSegmentGuard::Lock & lock) c
info << "key: " << key().toString() << ", "; info << "key: " << key().toString() << ", ";
info << "state: " << download_state << ", "; info << "state: " << download_state << ", ";
info << "downloaded size: " << getDownloadedSizeUnlocked(lock) << ", "; info << "downloaded size: " << getDownloadedSizeUnlocked(lock) << ", ";
info << "reserved size: " << reserved_size << ", "; info << "reserved size: " << reserved_size.load() << ", ";
info << "downloader id: " << (downloader_id.empty() ? "None" : downloader_id) << ", "; info << "downloader id: " << (downloader_id.empty() ? "None" : downloader_id) << ", ";
info << "current write offset: " << getCurrentWriteOffsetUnlocked(lock) << ", "; info << "current write offset: " << getCurrentWriteOffsetUnlocked(lock) << ", ";
info << "first non-downloaded offset: " << getFirstNonDownloadedOffsetUnlocked(lock) << ", "; info << "first non-downloaded offset: " << getFirstNonDownloadedOffsetUnlocked(lock) << ", ";