Explorar o código

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.
Lioncash %!s(int64=7) %!d(string=hai) anos
pai
achega
0c28ab92e6
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      src/core/hle/result.h

+ 0 - 5
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;
     }