mirror of https://github.com/procxx/kepka.git
change deprecated ranges::to_ to ranges::to (no underscore)
This commit is contained in:
parent
56aab1aa07
commit
497df7f4b2
|
@ -117,7 +117,7 @@ std::string Layouter::CountProportions(const std::vector<float64> &ratios) {
|
||||||
ratios
|
ratios
|
||||||
) | ranges::view::transform([](float64 ratio) {
|
) | ranges::view::transform([](float64 ratio) {
|
||||||
return (ratio > 1.2) ? 'w' : (ratio < 0.8) ? 'n' : 'q';
|
return (ratio > 1.2) ? 'w' : (ratio < 0.8) ? 'n' : 'q';
|
||||||
}) | ranges::to_<std::string>();
|
}) | ranges::to<std::string>();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<GroupMediaLayout> Layouter::layout() const {
|
std::vector<GroupMediaLayout> Layouter::layout() const {
|
||||||
|
|
Loading…
Reference in New Issue