[algs] Remove unnecessary struct tag names

This commit is contained in:
Behdad Esfahbod 2021-08-19 00:27:03 -06:00
parent 8aa92ff8f0
commit 6afefe1dc3
1 changed files with 4 additions and 4 deletions

View File

@ -1159,25 +1159,25 @@ hb_codepoint_parse (const char *s, unsigned int len, int base, hb_codepoint_t *o
/* Operators. */ /* Operators. */
struct hb_bitwise_and struct
{ HB_PARTIALIZE(2); { HB_PARTIALIZE(2);
template <typename T> constexpr auto template <typename T> constexpr auto
operator () (const T &a, const T &b) const HB_AUTO_RETURN (a & b) operator () (const T &a, const T &b) const HB_AUTO_RETURN (a & b)
} }
HB_FUNCOBJ (hb_bitwise_and); HB_FUNCOBJ (hb_bitwise_and);
struct hb_bitwise_or struct
{ HB_PARTIALIZE(2); { HB_PARTIALIZE(2);
template <typename T> constexpr auto template <typename T> constexpr auto
operator () (const T &a, const T &b) const HB_AUTO_RETURN (a | b) operator () (const T &a, const T &b) const HB_AUTO_RETURN (a | b)
} }
HB_FUNCOBJ (hb_bitwise_or); HB_FUNCOBJ (hb_bitwise_or);
struct hb_bitwise_xor struct
{ HB_PARTIALIZE(2); { HB_PARTIALIZE(2);
template <typename T> constexpr auto template <typename T> constexpr auto
operator () (const T &a, const T &b) const HB_AUTO_RETURN (a ^ b) operator () (const T &a, const T &b) const HB_AUTO_RETURN (a ^ b)
} }
HB_FUNCOBJ (hb_bitwise_xor); HB_FUNCOBJ (hb_bitwise_xor);
struct hb_bitwise_sub struct
{ HB_PARTIALIZE(2); { HB_PARTIALIZE(2);
template <typename T> constexpr auto template <typename T> constexpr auto
operator () (const T &a, const T &b) const HB_AUTO_RETURN (a & ~b) operator () (const T &a, const T &b) const HB_AUTO_RETURN (a & ~b)