Browse Source

We have to actually invoke ranges::to<>

default_compile_flags
vector-of-bool 5 years ago
parent
commit
0eb08490a1
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/dds/repo/repo.cpp

+ 1
- 2
src/dds/repo/repo.cpp View File

fs::path repository::default_local_path() noexcept { return dds_data_dir() / "repo"; } fs::path repository::default_local_path() noexcept { return dds_data_dir() / "repo"; }


repository repository::_open_for_directory(bool writeable, path_ref dirpath) { repository repository::_open_for_directory(bool writeable, path_ref dirpath) {
auto dist_dir = dirpath;
auto entries = load_sdists(dirpath) | to<sdist_set>;
sdist_set entries = load_sdists(dirpath) | to<sdist_set>();
return {writeable, dirpath, std::move(entries)}; return {writeable, dirpath, std::move(entries)};
} }



Loading…
Cancel
Save