diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h index 34b3afd7..07d8d38b 100644 --- a/include/fmt/ranges.h +++ b/include/fmt/ranges.h @@ -24,12 +24,8 @@ template class is_map { template static void check(...); public: -#ifdef FMT_FORMAT_MAP_AS_LIST // DEPRECATED! - static constexpr const bool value = false; -#else static constexpr const bool value = !std::is_void(nullptr))>::value; -#endif }; template class is_set { @@ -37,12 +33,8 @@ template class is_set { template static void check(...); public: -#ifdef FMT_FORMAT_SET_AS_LIST // DEPRECATED! - static constexpr const bool value = false; -#else static constexpr const bool value = !std::is_void(nullptr))>::value && !is_map::value; -#endif }; template struct conditional_helper {};