From c10859f15c363d8b067cb529c83ef3a3d4a29f35 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 13 Jan 2024 10:18:37 -0800 Subject: [PATCH] Remove deprecated options --- include/fmt/ranges.h | 8 -------- 1 file changed, 8 deletions(-) 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 {};