aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/content-address.cc
diff options
context:
space:
mode:
authorjade <lix@jade.fyi>2024-03-31 15:38:48 +0000
committerGerrit Code Review <gerrit@lix>2024-03-31 15:38:48 +0000
commit73507a716761241ca38d35fb6a873c43967c8139 (patch)
tree3e05db96d19a6c0fd683357cfff269be8a0e42d5 /src/libstore/content-address.cc
parent6165f210742d74dc7d74b011cc6f782d59c2f407 (diff)
parent194a1b91af6d8848e4cc0dfbdcc153ee2dbed140 (diff)
Merge changes Ib62d3d68,Ic3e7affe into main
* changes: Make things that can throw not noexcept anymore Fix various clang-tidy lints
Diffstat (limited to 'src/libstore/content-address.cc')
-rw-r--r--src/libstore/content-address.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/content-address.cc b/src/libstore/content-address.cc
index 77f23b0b3..811ddbed7 100644
--- a/src/libstore/content-address.cc
+++ b/src/libstore/content-address.cc
@@ -157,7 +157,7 @@ size_t StoreReferences::size() const
return (self ? 1 : 0) + others.size();
}
-ContentAddressWithReferences ContentAddressWithReferences::withoutRefs(const ContentAddress & ca) noexcept
+ContentAddressWithReferences ContentAddressWithReferences::withoutRefs(const ContentAddress & ca)
{
return std::visit(overloaded {
[&](const TextIngestionMethod &) -> ContentAddressWithReferences {
@@ -177,7 +177,7 @@ ContentAddressWithReferences ContentAddressWithReferences::withoutRefs(const Con
}
std::optional<ContentAddressWithReferences> ContentAddressWithReferences::fromPartsOpt(
- ContentAddressMethod method, Hash hash, StoreReferences refs) noexcept
+ ContentAddressMethod method, Hash hash, StoreReferences refs)
{
return std::visit(overloaded {
[&](TextIngestionMethod _) -> std::optional<ContentAddressWithReferences> {