From 98f1c1fe878724a34306c55aad6139fa71597be0 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 14 Oct 2018 15:36:45 -0700 Subject: [PATCH] Remove unused code --- include/fmt/format.h | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index dfe9aa8a..a64afe73 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1155,33 +1155,6 @@ enum alignment { // Flags. enum {SIGN_FLAG = 1, PLUS_FLAG = 2, MINUS_FLAG = 4, HASH_FLAG = 8}; -enum format_spec_tag {fill_tag, align_tag, width_tag, type_tag}; - -// Format specifier. -template -class format_spec { - private: - T value_; - - public: - typedef T value_type; - - explicit format_spec(T value) : value_(value) {} - - T value() const { return value_; } -}; - -// template -// typedef format_spec fill_spec; -template -class fill_spec : public format_spec { - public: - explicit fill_spec(Char value) : format_spec(value) {} -}; - -typedef format_spec width_spec; -typedef format_spec type_spec; - // An empty format specifier. struct empty_spec {};