[ox/std] Fix ox::join to work with list types that done have a front function

This commit is contained in:
Gary Talent 2023-02-13 19:08:46 -06:00
parent 777a6d54f0
commit b6ed919b01

View File

@ -207,7 +207,7 @@ constexpr Result<T> join(auto d, const auto &list) {
return T("");
}
T out;
out += list.front().value;
out += list[0];
for (auto i = 1ul; i < list.size(); ++i) {
out += d;
out += list[i];