diff --git a/include/ircd/fs/fs.h b/include/ircd/fs/fs.h index 696a7f637..8c7797527 100644 --- a/include/ircd/fs/fs.h +++ b/include/ircd/fs/fs.h @@ -68,7 +68,7 @@ namespace ircd::fs const char *get(index) noexcept; const char *name(index) noexcept; - std::string make_path(const std::initializer_list &); + std::string make_path(const vector_view &); bool exists(const string_view &path); bool is_dir(const string_view &path); diff --git a/ircd/fs.cc b/ircd/fs.cc index cdfd7e9aa..d2c406e66 100644 --- a/ircd/fs.cc +++ b/ircd/fs.cc @@ -25,7 +25,7 @@ namespace ircd::fs filesystem::path path(std::string); filesystem::path path(const string_view &); - filesystem::path path(const std::initializer_list &); + filesystem::path path(const vector_view &); } /// Non-null when aio is available for use @@ -457,7 +457,7 @@ catch(const filesystem::filesystem_error &e) } std::string -ircd::fs::make_path(const std::initializer_list &list) +ircd::fs::make_path(const vector_view &list) { filesystem::path ret; for(const auto &s : list) @@ -467,7 +467,7 @@ ircd::fs::make_path(const std::initializer_list &list) } filesystem::path -ircd::fs::path(const std::initializer_list &list) +ircd::fs::path(const vector_view &list) { filesystem::path ret; for(const auto &s : list)