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

(synced from b6ed919b01)
This commit is contained in:
2023-02-13 19:08:46 -06:00
parent 94a78fcc67
commit 2ea46c3cff
+1 -1
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];