forked from suyu/suyu
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.
This commit is contained in:
parent
3f602dde0f
commit
0c28ab92e6
1 changed files with 0 additions and 5 deletions
|
@ -128,11 +128,6 @@ union ResultCode {
|
||||||
constexpr ResultCode(ErrorModule module_, u32 description_)
|
constexpr ResultCode(ErrorModule module_, u32 description_)
|
||||||
: raw(module.FormatValue(module_) | description.FormatValue(description_)) {}
|
: raw(module.FormatValue(module_) | description.FormatValue(description_)) {}
|
||||||
|
|
||||||
constexpr ResultCode& operator=(const ResultCode& o) {
|
|
||||||
raw = o.raw;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
constexpr bool IsSuccess() const {
|
constexpr bool IsSuccess() const {
|
||||||
return raw == 0;
|
return raw == 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue