From f1a86e1e6f3906f33fc89de694a4bbbc3e40d2bc Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 16 Sep 2018 18:01:32 +0200 Subject: [PATCH] Remove unused try --- src/hb-null.hh | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/hb-null.hh b/src/hb-null.hh index 7128f0a94..88c1c9cb6 100644 --- a/src/hb-null.hh +++ b/src/hb-null.hh @@ -73,19 +73,6 @@ static_assert (true, "Just so we take semicolon after.") #define DEFINE_NULL_INSTANCE(Type) \ const Type _hb_Null_##Type -/* Specializaiton to disallow Null objects. */ -#define DECLARE_NULL_DISALLOW(Type) \ - template <> inline const Type& Null (void) -#define DECLARE_NULL_NAMSPACE_DISALLOW(Namespace, Type) \ - } /* Close namespace. */ \ - template <> \ - /*static*/ inline const Namespace::Type& Null (void) { \ - extern void *_hb_undefined; \ - return *reinterpret_cast (_hb_undefined); \ - } \ - namespace Namespace { \ - static_assert (true, "Just so we take semicolon after.") - /* Global writable pool. Enlarge as necessary. */ /* To be fully correct, CrapPool must be thread_local. However, we do not rely on CrapPool