mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05:00
Alpha version 1.2.2: Fix build for Xcode.
This commit is contained in:
parent
b0f191515a
commit
de16a66a4a
3 changed files with 5 additions and 5 deletions
|
@ -97,7 +97,7 @@ public:
|
|||
bool overrideEditedDate() const override {
|
||||
return true;
|
||||
}
|
||||
HistoryMessageEdited *displayedEditBadge() const;
|
||||
HistoryMessageEdited *displayedEditBadge() const override;
|
||||
|
||||
bool canBeGrouped() const override {
|
||||
return true;
|
||||
|
|
|
@ -749,8 +749,8 @@ void HistoryPhoto::validateGroupedCache(
|
|||
const auto pixSize = CountPixSizeForSize(
|
||||
{ originalWidth, originalHeight },
|
||||
{ width, height });
|
||||
const auto pixWidth = pixSize.width();
|
||||
const auto pixHeight = pixSize.height();
|
||||
const auto pixWidth = pixSize.width() * cIntRetinaFactor();
|
||||
const auto pixHeight = pixSize.height() * cIntRetinaFactor();
|
||||
const auto &image = loaded ? _data->full : _data->thumb;
|
||||
|
||||
*cacheKey = key;
|
||||
|
|
|
@ -36,7 +36,7 @@ inline bool IsGroupItemSelection(
|
|||
return IsSubGroupSelection(selection) && (selection.to & (1 << index));
|
||||
}
|
||||
|
||||
inline [[nodiscard]] TextSelection AddGroupItemSelection(
|
||||
[[nodiscard]] inline TextSelection AddGroupItemSelection(
|
||||
TextSelection selection,
|
||||
int index) {
|
||||
Expects(index >= 0 && index < 0x0F);
|
||||
|
@ -47,7 +47,7 @@ inline [[nodiscard]] TextSelection AddGroupItemSelection(
|
|||
IsSubGroupSelection(selection) ? (selection.to | bit) : bit);
|
||||
}
|
||||
|
||||
inline[[nodiscard]] TextSelection RemoveGroupItemSelection(
|
||||
[[nodiscard]] inline TextSelection RemoveGroupItemSelection(
|
||||
TextSelection selection,
|
||||
int index) {
|
||||
Expects(index >= 0 && index < 0x0F);
|
||||
|
|
Loading…
Add table
Reference in a new issue