2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

change deprecated ranges::to_ to ranges::to (no underscore)

This commit is contained in:
Jiachen YANG
2019-09-10 14:40:08 +09:00
committed by John Preston
parent 56aab1aa07
commit 497df7f4b2

View File

@@ -117,7 +117,7 @@ std::string Layouter::CountProportions(const std::vector<float64> &ratios) {
ratios
) | ranges::view::transform([](float64 ratio) {
return (ratio > 1.2) ? 'w' : (ratio < 0.8) ? 'n' : 'q';
}) | ranges::to_<std::string>();
}) | ranges::to<std::string>();
}
std::vector<GroupMediaLayout> Layouter::layout() const {