Parcourir la source

We have to actually invoke ranges::to<>

default_compile_flags
vector-of-bool il y a 5 ans
Parent
révision
0eb08490a1
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. +1
    -2
      src/dds/repo/repo.cpp

+ 1
- 2
src/dds/repo/repo.cpp Voir le fichier

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


Chargement…
Annuler
Enregistrer