From ee1153c393bdd2d6e68be9e563f18cc52e4ccb5f Mon Sep 17 00:00:00 2001 From: Andreas Tsouchlos Date: Thu, 17 Mar 2022 22:11:30 +0100 Subject: [PATCH] Changed copy constructor signature of std::array implementation --- const_fmt/stdlib.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/const_fmt/stdlib.h b/const_fmt/stdlib.h index 1636570..026e01b 100644 --- a/const_fmt/stdlib.h +++ b/const_fmt/stdlib.h @@ -237,13 +237,10 @@ public: } constexpr array() noexcept = default; - - constexpr array(array&) = default; - + constexpr array(const array&) = default; constexpr array(array&&) = default; constexpr array& operator=(array& other) = default; - constexpr array& operator=(array&& other) = default; constexpr void swap(array& other) noexcept {