Remove unused empty_spec

This commit is contained in:
Victor Zverovich 2018-10-17 08:39:51 -07:00
parent e8efdef8de
commit b1ca608bac

View File

@ -1153,13 +1153,10 @@ enum alignment {
}; };
// Flags. // Flags.
enum {SIGN_FLAG = 1, PLUS_FLAG = 2, MINUS_FLAG = 4, HASH_FLAG = 8}; enum { SIGN_FLAG = 1, PLUS_FLAG = 2, MINUS_FLAG = 4, HASH_FLAG = 8 };
// An empty format specifier.
struct empty_spec {};
// An alignment specifier. // An alignment specifier.
struct align_spec : empty_spec { struct align_spec {
unsigned width_; unsigned width_;
// Fill is always wchar_t and cast to char if necessary to avoid having // Fill is always wchar_t and cast to char if necessary to avoid having
// two specialization of AlignSpec and its subclasses. // two specialization of AlignSpec and its subclasses.