From b6ed919b0145e01d7e5daede2d8312b954c75147 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 13 Feb 2023 19:08:46 -0600 Subject: [PATCH] [ox/std] Fix ox::join to work with list types that done have a front function --- deps/ox/src/ox/std/fmt.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/ox/src/ox/std/fmt.hpp b/deps/ox/src/ox/std/fmt.hpp index 3bc60fb1..c106d270 100644 --- a/deps/ox/src/ox/std/fmt.hpp +++ b/deps/ox/src/ox/std/fmt.hpp @@ -207,7 +207,7 @@ constexpr Result 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];