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:
parent
cbd65ae8b1
commit
0518a2269e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue