diff --git a/include/fmt/core.h b/include/fmt/core.h index 5b8bf765..a60b8a9b 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -641,7 +641,6 @@ FMT_NORETURN FMT_API void throw_format_error(const char* message); struct error_handler { constexpr error_handler() = default; - constexpr error_handler(const error_handler&) = default; // This function is intentionally not constexpr to give a compile-time error. FMT_NORETURN void on_error(const char* message) { @@ -2218,9 +2217,6 @@ template class specs_setter { explicit FMT_CONSTEXPR specs_setter(basic_format_specs& specs) : specs_(specs) {} - FMT_CONSTEXPR specs_setter(const specs_setter& other) - : specs_(other.specs_) {} - FMT_CONSTEXPR void on_align(align_t align) { specs_.align = align; } FMT_CONSTEXPR void on_fill(basic_string_view fill) { specs_.fill = fill; @@ -2255,11 +2251,6 @@ class dynamic_specs_handler ParseContext& ctx) : specs_setter(specs), specs_(specs), context_(ctx) {} - FMT_CONSTEXPR dynamic_specs_handler(const dynamic_specs_handler& other) - : specs_setter(other), - specs_(other.specs_), - context_(other.context_) {} - template FMT_CONSTEXPR void on_dynamic_width(Id arg_id) { specs_.width_ref = make_arg_ref(arg_id); }