From b1ca608bacc41801de7c449b202cafa5766cb62c Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 17 Oct 2018 08:39:51 -0700 Subject: [PATCH] Remove unused empty_spec --- include/fmt/format.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index ddd5a54c..fcdf837e 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1153,13 +1153,10 @@ enum alignment { }; // Flags. -enum {SIGN_FLAG = 1, PLUS_FLAG = 2, MINUS_FLAG = 4, HASH_FLAG = 8}; - -// An empty format specifier. -struct empty_spec {}; +enum { SIGN_FLAG = 1, PLUS_FLAG = 2, MINUS_FLAG = 4, HASH_FLAG = 8 }; // An alignment specifier. -struct align_spec : empty_spec { +struct align_spec { unsigned width_; // Fill is always wchar_t and cast to char if necessary to avoid having // two specialization of AlignSpec and its subclasses.