Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed Aug 18, 2024
1 parent 42211c9 commit 197509c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/odr/internal/cfb/cfb_archive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ std::shared_ptr<abstract::Filesystem> CfbArchive::filesystem() const {
return filesystem;
}

void CfbArchive::save(std::ostream &out) const { throw UnsupportedOperation(); }
void CfbArchive::save(std::ostream &out) const {
(void)out;

throw UnsupportedOperation();
}

} // namespace odr::internal::cfb
3 changes: 3 additions & 0 deletions src/odr/internal/html/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ HtmlResourceLocator html::local_resource_locator(const std::string &output_path,
return [&](HtmlResourceType type, const std::string &name,
const std::string &path, const File &resource,
bool is_core_resource) -> HtmlResourceLocation {
(void)type;
(void)name;

if (config.embed_resources) {
return std::nullopt;
}
Expand Down
1 change: 1 addition & 0 deletions src/odr/internal/html/html_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#include <cstring>
#include <iostream>
#include <ranges>
#include <stdexcept>

namespace odr::internal::html {
Expand Down

0 comments on commit 197509c

Please sign in to comment.