summaryrefslogtreecommitdiff
path: root/src/core/hle/result.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-10 18:34:17 -0400
committerLioncash <mathew1800@gmail.com>2019-03-10 18:34:20 -0400
commit0c28ab92e66146bb8d4190ff76cd7f5512ee1d3a (patch)
tree73d63dc2175becf28042f02849c140f20f21a19d /src/core/hle/result.h
parent3f602dde0f0ad719e1b229cebe6d0888e102fd76 (diff)
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.
Diffstat (limited to 'src/core/hle/result.h')
-rw-r--r--src/core/hle/result.h5
1 files changed, 0 insertions, 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;
}