From 5ac2e6e26b01ecf6d001ba6f160dab54da971c17 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 26 Feb 2013 17:51:34 +1100 Subject: [PATCH] Remove unneeded clang path for elems --- types.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/types.hpp b/types.hpp index f2687c81..29cc7587 100644 --- a/types.hpp +++ b/types.hpp @@ -27,13 +27,9 @@ #include /// Returns the number of elements of a statically allocated array -#if !defined(COMPILER_CLANG) template size_t elems(T (&)[N]) { return N; } -#else -#define elems(x) (sizeof(x) / 0[x]) -#endif template