1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-12 23:23:54 +00:00

fix: do not mark Variant::make_map() as noexcept (#7466)

This commit is contained in:
Charles Kerr 2025-03-04 18:42:08 -06:00 committed by GitHub
parent cbd65ae8b1
commit 0518a2269e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -204,7 +204,7 @@ public:
*this = std::forward<Val>(value);
}
[[nodiscard]] static auto make_map(size_t const n_reserve = 0U) noexcept
[[nodiscard]] static auto make_map(size_t const n_reserve = 0U)
{
auto ret = tr_variant{};
ret.val_.emplace<Map>(n_reserve);