Explorar el Código

sdist loading can throw!

default_compile_flags
vector-of-bool hace 5 años
padre
commit
9d6525ff6d
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. +1
    -1
      src/dds/repo/repo.cpp
  2. +1
    -1
      src/dds/repo/repo.hpp

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

@@ -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 fichero

@@ -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

Cargando…
Cancelar
Guardar