diff options
author | bunnei <bunneidev@gmail.com> | 2016-02-14 03:10:05 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-02-14 03:10:05 +0100 |
commit | 0d086616d1af239b8e41b246bea3c1ef85fc907f (patch) | |
tree | 0dc7778532b0e2d1c5acd0224266b8a67d961155 /src/core/hle/result.h | |
parent | Merge pull request #1264 from bunnei/fragment-lighting-hw (diff) | |
parent | BitField: Make trivially copyable and remove assignment operator (diff) | |
download | yuzu-0d086616d1af239b8e41b246bea3c1ef85fc907f.tar yuzu-0d086616d1af239b8e41b246bea3c1ef85fc907f.tar.gz yuzu-0d086616d1af239b8e41b246bea3c1ef85fc907f.tar.bz2 yuzu-0d086616d1af239b8e41b246bea3c1ef85fc907f.tar.lz yuzu-0d086616d1af239b8e41b246bea3c1ef85fc907f.tar.xz yuzu-0d086616d1af239b8e41b246bea3c1ef85fc907f.tar.zst yuzu-0d086616d1af239b8e41b246bea3c1ef85fc907f.zip |
Diffstat (limited to 'src/core/hle/result.h')
-rw-r--r-- | src/core/hle/result.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/result.h b/src/core/hle/result.h index ea3abb5f6..0fce5988b 100644 --- a/src/core/hle/result.h +++ b/src/core/hle/result.h @@ -193,10 +193,10 @@ union ResultCode { explicit ResultCode(u32 raw) : raw(raw) {} ResultCode(ErrorDescription description_, ErrorModule module_, ErrorSummary summary_, ErrorLevel level_) : raw(0) { - description = description_; - module = module_; - summary = summary_; - level = level_; + description.Assign(description_); + module.Assign(module_); + summary.Assign(summary_); + level.Assign(level_); } ResultCode& operator=(const ResultCode& o) { raw = o.raw; return *this; } |