only mutable ranges are iterable
parent
e0986692ef
commit
11a366f469
|
@ -132,7 +132,8 @@ private:
|
||||||
if constexpr (std::is_constructible_v<std::string, R const &>) {
|
if constexpr (std::is_constructible_v<std::string, R const &>) {
|
||||||
p_deps.emplace_back(v);
|
p_deps.emplace_back(v);
|
||||||
} else {
|
} else {
|
||||||
for (auto const &sv: v) {
|
R mr{v};
|
||||||
|
for (auto const &sv: mr) {
|
||||||
p_deps.emplace_back(sv);
|
p_deps.emplace_back(sv);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue