diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-04-05 10:35:10 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-04-05 10:35:10 +0200 |
commit | 8fcc7a52dcb731ec85270bf7d67d471b2dfaf6c5 (patch) | |
tree | d96da4833562a60146ccd993a8f7cbbbf5627068 /thirdparty/harfbuzz/src/hb-bit-set-invertible.hh | |
parent | f6a78f83aa4b74aa5cb80ca2e3419448b1998e4f (diff) | |
download | redot-engine-8fcc7a52dcb731ec85270bf7d67d471b2dfaf6c5.tar.gz |
harfbuzz: Update to 8.4.0
Diffstat (limited to 'thirdparty/harfbuzz/src/hb-bit-set-invertible.hh')
-rw-r--r-- | thirdparty/harfbuzz/src/hb-bit-set-invertible.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/thirdparty/harfbuzz/src/hb-bit-set-invertible.hh b/thirdparty/harfbuzz/src/hb-bit-set-invertible.hh index 2626251807..d5d1326d9f 100644 --- a/thirdparty/harfbuzz/src/hb-bit-set-invertible.hh +++ b/thirdparty/harfbuzz/src/hb-bit-set-invertible.hh @@ -39,10 +39,10 @@ struct hb_bit_set_invertible_t hb_bit_set_invertible_t () = default; hb_bit_set_invertible_t (const hb_bit_set_invertible_t& o) = default; - hb_bit_set_invertible_t (hb_bit_set_invertible_t&& other) : hb_bit_set_invertible_t () { hb_swap (*this, other); } + hb_bit_set_invertible_t (hb_bit_set_invertible_t&& other) noexcept : hb_bit_set_invertible_t () { hb_swap (*this, other); } hb_bit_set_invertible_t& operator= (const hb_bit_set_invertible_t& o) = default; - hb_bit_set_invertible_t& operator= (hb_bit_set_invertible_t&& other) { hb_swap (*this, other); return *this; } - friend void swap (hb_bit_set_invertible_t &a, hb_bit_set_invertible_t &b) + hb_bit_set_invertible_t& operator= (hb_bit_set_invertible_t&& other) noexcept { hb_swap (*this, other); return *this; } + friend void swap (hb_bit_set_invertible_t &a, hb_bit_set_invertible_t &b) noexcept { if (likely (!a.s.successful || !b.s.successful)) return; |