mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Remove for_const macro.
This commit is contained in:
@@ -951,7 +951,7 @@ void HistoryService::setServiceText(const PreparedText &prepared) {
|
||||
prepared.text,
|
||||
Ui::ItemTextServiceOptions());
|
||||
auto linkIndex = 0;
|
||||
for_const (auto &link, prepared.links) {
|
||||
for (const auto &link : prepared.links) {
|
||||
// Link indices start with 1.
|
||||
_text.setLink(++linkIndex, link);
|
||||
}
|
||||
|
Reference in New Issue
Block a user