From 509353357c220a3a60910b70b3a90ea8fa6a14a8 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 26 Jan 2019 22:47:35 +0100 Subject: [PATCH] [iter] Use hb_declval() instead of Null() to get instance I had used Null to make one of the bots happy before. Not going to bend to such demands anymore.. --- src/hb-iter.hh | 3 +-- src/hb.hh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/hb-iter.hh b/src/hb-iter.hh index e86e795d..f8b0987d 100644 --- a/src/hb-iter.hh +++ b/src/hb-iter.hh @@ -30,7 +30,6 @@ #include "hb.hh" #include "hb-algs.hh" // for hb_addressof #include "hb-meta.hh" -#include "hb-null.hh" /* Unified iterator object. @@ -155,7 +154,7 @@ template struct _hb_is_iterable { enum { value = false }; }; template -struct _hb_is_iterable > +struct _hb_is_iterable > { enum { value = true }; }; template diff --git a/src/hb.hh b/src/hb.hh index 18b0e0bd..37445c57 100644 --- a/src/hb.hh +++ b/src/hb.hh @@ -635,7 +635,7 @@ _hb_memalign(void **memptr, size_t alignment, size_t size) #include "hb-atomic.hh" // Requires: hb-meta #include "hb-null.hh" // Requires: hb-meta #include "hb-algs.hh" // Requires: hb-null -#include "hb-iter.hh" // Requires: hb-algs hb-meta hb-null +#include "hb-iter.hh" // Requires: hb-algs hb-meta #include "hb-debug.hh" // Requires: hb-algs hb-atomic #include "hb-array.hh" // Requires: hb-algs hb-iter hb-null #include "hb-vector.hh" // Requires: hb-array hb-null -- GitLab