diff --git a/js/public/TemplateLib.h b/js/public/TemplateLib.h index ba3171def00..c94e57fdb5b 100644 --- a/js/public/TemplateLib.h +++ b/js/public/TemplateLib.h @@ -171,10 +171,6 @@ template <> struct IsPodType { static const bool result = template <> struct IsPodType { static const bool result = true; }; template struct IsPodType { static const bool result = true; }; -/* Return the size/end of an array without using macros. */ -template inline T *ArraySize(T (&)[N]) { return N; } -template inline T *ArrayEnd(T (&arr)[N]) { return arr + N; } - template struct If { static const T result = v1; }; template struct If { static const T result = v2; };