Remove broken fmt::internal::format_enum (#818)

This commit is contained in:
Victor Zverovich
2018-08-01 07:11:53 -07:00
parent 0c63d15ee9
commit c68bab7014
3 changed files with 4 additions and 19 deletions
-5
View File
@@ -106,11 +106,6 @@ void format_value(basic_buffer<Char> &buffer, const T &value) {
output << value;
buffer.resize(buffer.size());
}
// Disable builtin formatting of enums and use operator<< instead.
template <typename T>
struct format_enum<T,
typename std::enable_if<std::is_enum<T>::value>::type> : std::false_type {};
} // namespace internal
// Formats an object of type T that has an overloaded ostream operator<<.