From 0c28ab92e66146bb8d4190ff76cd7f5512ee1d3a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 10 Mar 2019 18:34:17 -0400 Subject: core/hle/result: Remove now-unnecessary manually defined copy assignment operator Previously this was required, as BitField wasn't trivially copyable. BitField has since been made trivially copyable, so now this isn't required anymore. --- src/core/hle/result.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/core/hle/result.h b/src/core/hle/result.h index 46116c40a..ab84f5ddc 100644 --- a/src/core/hle/result.h +++ b/src/core/hle/result.h @@ -128,11 +128,6 @@ union ResultCode { constexpr ResultCode(ErrorModule module_, u32 description_) : raw(module.FormatValue(module_) | description.FormatValue(description_)) {} - constexpr ResultCode& operator=(const ResultCode& o) { - raw = o.raw; - return *this; - } - constexpr bool IsSuccess() const { return raw == 0; } -- cgit v1.2.3