From cb003d7f66e747b39e5fd3d04498146a1aa148fa Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 4 Nov 2022 11:34:11 +0300 Subject: [PATCH] Fix compilation error. --- td/telegram/files/FileLoaderUtils.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/td/telegram/files/FileLoaderUtils.h b/td/telegram/files/FileLoaderUtils.h index f7e4a3ae4..7a641f21f 100644 --- a/td/telegram/files/FileLoaderUtils.h +++ b/td/telegram/files/FileLoaderUtils.h @@ -43,6 +43,9 @@ bool are_modification_times_equal(int64 old_mtime, int64 new_mtime); struct FullLocalLocationInfo { FullLocalFileLocation location_; int64 size_ = 0; + + FullLocalLocationInfo(const FullLocalFileLocation &location, int64 size) : location_(location), size_(size) { + } }; Result check_full_local_location(FullLocalLocationInfo local_info, bool skip_file_size_checks);