2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Replace $ with _ in rpl::mappers.

This commit is contained in:
John Preston
2017-11-20 16:32:55 +04:00
parent ac99318f34
commit eb8800f2d4
17 changed files with 40 additions and 60 deletions

View File

@@ -257,7 +257,7 @@ MainWidget::MainWidget(
? Data::CanWriteValue(peer)
: rpl::single(false);
return std::move(canWrite)
| rpl::map(tuple(peer, $1));
| rpl::map(tuple(peer, _1));
})
| rpl::flatten_latest()
| rpl::start_with_next([this](PeerData *peer, bool canWrite) {