mirror of
https://github.com/fmtlib/fmt.git
synced 2025-02-28 06:39:50 +00:00
Remove unused empty_spec
This commit is contained in:
parent
e8efdef8de
commit
b1ca608bac
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user