parent
5a1b5c0a8b
commit
8aaecbb583
|
@ -171,9 +171,9 @@ auto hb_partial (Appl&& a, V&& v) HB_AUTO_RETURN
|
||||||
template <typename _T> \
|
template <typename _T> \
|
||||||
auto operator () (_T&& _v) const HB_AUTO_RETURN \
|
auto operator () (_T&& _v) const HB_AUTO_RETURN \
|
||||||
(hb_partial<Pos> ( \
|
(hb_partial<Pos> ( \
|
||||||
/* The following ugly line is a hack hacky replacement for "this". */ \
|
/* The following ugly line is a hacky replacement for "this". */ \
|
||||||
/* https://github.com/harfbuzz/harfbuzz/issues/1730 */ \
|
/* https://github.com/harfbuzz/harfbuzz/issues/1730 */ \
|
||||||
const_cast<const hb_decay<decltype (*this)> *> (this), \
|
&*this, \
|
||||||
hb_forward<_T> (_v))) \
|
hb_forward<_T> (_v))) \
|
||||||
static_assert (true, "")
|
static_assert (true, "")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue