From de994a27a745292cb71500fb2c0318bc0cf84139 Mon Sep 17 00:00:00 2001 From: vitaut Date: Fri, 1 May 2015 07:58:32 -0700 Subject: [PATCH] Remove internal::NonZero --- format.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/format.h b/format.h index a857b33b..195f9c38 100644 --- a/format.h +++ b/format.h @@ -702,13 +702,6 @@ void format_windows_error(fmt::Writer &out, int error_code, fmt::StringRef message) FMT_NOEXCEPT; #endif -// Computes max(N, 1) at compile time. It is used to avoid errors about -// allocating an array of 0 size. -template -struct NonZero { - enum { VALUE = N > 0 ? N : 1 }; -}; - // A formatting argument value. struct Value { template