소스 검색

sdist loading can throw!

default_compile_flags
vector-of-bool 5 년 전
부모
커밋
9d6525ff6d
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -1
      src/dds/repo/repo.cpp
  2. +1
    -1
      src/dds/repo/repo.hpp

+ 1
- 1
src/dds/repo/repo.cpp 파일 보기

@@ -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 파일 보기

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

Loading…
취소
저장