mirror of
https://github.com/transmission/transmission
synced 2024-12-21 23:32:35 +00:00
build: fix building on macOS 10.14.6, 10.15.7 and 11.7 (#6590)
This commit is contained in:
parent
6a212e7e8e
commit
6909ec0bad
2 changed files with 5 additions and 3 deletions
|
@ -14,7 +14,9 @@ struct tr_block_info
|
|||
public:
|
||||
static auto constexpr BlockSize = uint32_t{ 1024U * 16U };
|
||||
|
||||
tr_block_info() noexcept = default;
|
||||
tr_block_info() noexcept
|
||||
{
|
||||
}
|
||||
|
||||
tr_block_info(uint64_t const total_size_in, uint32_t const piece_size_in) noexcept
|
||||
{
|
||||
|
|
|
@ -180,9 +180,9 @@ public:
|
|||
tr_variant& operator=(tr_variant&& that) noexcept = default;
|
||||
|
||||
template<typename Val>
|
||||
tr_variant(Val value)
|
||||
tr_variant(Val&& value)
|
||||
{
|
||||
*this = std::move(value);
|
||||
*this = std::forward<Val>(value);
|
||||
}
|
||||
|
||||
[[nodiscard]] static auto make_map(size_t const n_reserve = 0U) noexcept
|
||||
|
|
Loading…
Reference in a new issue