diff --git a/vendor/noa/src/flat_map/include/sourcemeta/noa/flat_map.h b/vendor/noa/src/flat_map/include/sourcemeta/noa/flat_map.h index 5df7a2855..2ac38bbd1 100644 --- a/vendor/noa/src/flat_map/include/sourcemeta/noa/flat_map.h +++ b/vendor/noa/src/flat_map/include/sourcemeta/noa/flat_map.h @@ -129,7 +129,7 @@ template class FlatMap { return this->cend(); } - inline auto try_at(const key_type &key, const hash_type key_hash) const + inline auto try_at(const key_type &key, const hash_type key_hash) const noexcept -> const mapped_type * { assert(this->hash(key) == key_hash); @@ -176,7 +176,7 @@ template class FlatMap { // As a performance optimisation if the hash is known - inline auto at(const key_type &key, const hash_type key_hash) const + inline auto at(const key_type &key, const hash_type key_hash) const noexcept -> const mapped_type & { assert(this->hash(key) == key_hash); @@ -203,7 +203,7 @@ template class FlatMap { #endif } - inline auto at(const key_type &key, const hash_type key_hash) + inline auto at(const key_type &key, const hash_type key_hash) noexcept -> mapped_type & { assert(this->hash(key) == key_hash);