From aba3888d933474a874d2f3ff02397b523846466c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 31 May 2019 22:11:27 -0700 Subject: [PATCH] Third try at fixing VS build https://github.com/harfbuzz/harfbuzz/issues/1730 --- src/hb-algs.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-algs.hh b/src/hb-algs.hh index 6e6217b..d195c77 100644 --- a/src/hb-algs.hh +++ b/src/hb-algs.hh @@ -173,7 +173,7 @@ auto hb_partial (Appl&& a, V&& v) HB_AUTO_RETURN (hb_partial ( \ /* The following ugly line is a hacky replacement for "this". */ \ /* https://github.com/harfbuzz/harfbuzz/issues/1730 */ \ - &*this, \ + (true?this:nullptr), \ hb_forward<_T> (_v))) \ static_assert (true, "") -- 2.7.4