mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fix build for Linux.
This commit is contained in:
@@ -14,8 +14,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "ui/image/image.h"
|
||||
#include "main/main_session.h"
|
||||
|
||||
#include <compare>
|
||||
|
||||
namespace Data {
|
||||
|
||||
void CloudImageView::set(
|
||||
@@ -314,4 +312,4 @@ void LoadCloudFile(
|
||||
std::move(progress));
|
||||
}
|
||||
|
||||
} // namespace Data
|
||||
} // namespace Data
|
||||
|
@@ -29,8 +29,7 @@ enum class PhotoSize : uchar {
|
||||
};
|
||||
|
||||
[[nodiscard]] inline int PhotoSizeIndex(PhotoSize size) {
|
||||
Expects(static_cast<int>(size) >= 0
|
||||
&& static_cast<int>(size) < kPhotoSizeCount);
|
||||
Expects(static_cast<int>(size) < kPhotoSizeCount);
|
||||
|
||||
return static_cast<int>(size);
|
||||
}
|
||||
|
Reference in New Issue
Block a user