Bladeren bron

We have to actually invoke ranges::to<>

default_compile_flags
vector-of-bool 5 jaren geleden
bovenliggende
commit
0eb08490a1
1 gewijzigde bestanden met toevoegingen van 1 en 2 verwijderingen
  1. +1
    -2
      src/dds/repo/repo.cpp

+ 1
- 2
src/dds/repo/repo.cpp Bestand weergeven

@@ -57,8 +57,7 @@ void repository::_init_repo_dir(path_ref dirpath) noexcept { fs::create_director
fs::path repository::default_local_path() noexcept { return dds_data_dir() / "repo"; }

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)};
}


Laden…
Annuleren
Opslaan