Second VS fix try

https://github.com/harfbuzz/harfbuzz/issues/1730
This commit is contained in:
Behdad Esfahbod 2019-05-31 21:41:40 -07:00
parent 5a1b5c0a8b
commit 8aaecbb583
1 changed files with 2 additions and 2 deletions

View File

@ -171,9 +171,9 @@ auto hb_partial (Appl&& a, V&& v) HB_AUTO_RETURN
template <typename _T> \
auto operator () (_T&& _v) const HB_AUTO_RETURN \
(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 */ \
const_cast<const hb_decay<decltype (*this)> *> (this), \
&*this, \
hb_forward<_T> (_v))) \
static_assert (true, "")