diff --git a/Utilities/address_range.h b/Utilities/address_range.h index 5b2424b68d..d0f6410924 100644 --- a/Utilities/address_range.h +++ b/Utilities/address_range.h @@ -65,7 +65,6 @@ namespace utils public: // Constructors constexpr address_range() = default; - constexpr address_range(const address_range &other) : start(other.start), end(other.end) {} static constexpr address_range start_length(u32 _start, u32 _length) { diff --git a/rpcs3/util/endian.hpp b/rpcs3/util/endian.hpp index 4512a93e28..42f56c77b9 100644 --- a/rpcs3/util/endian.hpp +++ b/rpcs3/util/endian.hpp @@ -199,8 +199,6 @@ namespace stx return value(); } - constexpr se_t& operator=(const se_t&) = default; - constexpr se_t& operator=(type value) noexcept { m_data = to_data(value); diff --git a/rpcs3/util/types.hpp b/rpcs3/util/types.hpp index cdb77fdd15..27f78fa25a 100644 --- a/rpcs3/util/types.hpp +++ b/rpcs3/util/types.hpp @@ -533,7 +533,7 @@ constexpr inline struct umax_helper #if __cpp_impl_three_way_comparison >= 201711 && !__INTELLISENSE__ #else template - friend constexpr std::enable_if_t>, bool> operator==(const T& lhs, const umax_helper& rhs) + friend constexpr std::enable_if_t>, bool> operator==(const T& lhs, const umax_helper&) { return lhs == static_cast>(-1); } @@ -548,7 +548,7 @@ constexpr inline struct umax_helper } template - friend constexpr std::enable_if_t>, bool> operator!=(const T& lhs, const umax_helper& rhs) + friend constexpr std::enable_if_t>, bool> operator!=(const T& lhs, const umax_helper&) { return lhs != static_cast>(-1); }