Ver código fonte

sdist loading can throw!

default_compile_flags
vector-of-bool 5 anos atrás
pai
commit
9d6525ff6d
2 arquivos alterados com 2 adições e 2 exclusões
  1. +1
    -1
      src/dds/repo/repo.cpp
  2. +1
    -1
      src/dds/repo/repo.hpp

+ 1
- 1
src/dds/repo/repo.cpp Ver arquivo

@@ -59,7 +59,7 @@ void repository::add_sdist(const sdist& sd, if_exists ife_action) {
spdlog::info("Source distribution '{}' successfully exported", sd.ident());
}

std::vector<sdist> repository::load_sdists() const noexcept {
std::vector<sdist> repository::load_sdists() const {
using namespace ranges;
using namespace ranges::views;


+ 1
- 1
src/dds/repo/repo.hpp Ver arquivo

@@ -74,7 +74,7 @@ public:

void add_sdist(const sdist&, if_exists = if_exists::throw_exc);
std::optional<sdist> get_sdist(std::string_view name, std::string_view version) const;
std::vector<sdist> load_sdists() const noexcept;
std::vector<sdist> load_sdists() const;
};

} // namespace dds

Carregando…
Cancelar
Salvar