diff --git a/utils/remote.cc b/utils/remote.cc index 61633750c..0d902821c 100644 --- a/utils/remote.cc +++ b/utils/remote.cc @@ -840,7 +840,7 @@ auto constexpr bandwidth_priority_names = std::array{ template std::string_view format_date(std::array& buf, time_t now) { - auto begin = std::begin(buf); + auto begin = std::data(buf); auto end = fmt::format_to_n(begin, N, "{:%a %b %d %T %Y}", fmt::localtime(now)).out; return { begin, static_cast(end - begin) }; }