summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-03-29 00:01:46 +0200
committerLioncash <mathew1800@gmail.com>2018-03-29 00:02:44 +0200
commit36e60c217a722ae3a63894a263db31e54223ad0c (patch)
treed06aea6c367b744b02a7d10e0c435b8337244b92 /src/core
parentMerge pull request #286 from N00byKing/citratoyuzuagain (diff)
downloadyuzu-36e60c217a722ae3a63894a263db31e54223ad0c.tar
yuzu-36e60c217a722ae3a63894a263db31e54223ad0c.tar.gz
yuzu-36e60c217a722ae3a63894a263db31e54223ad0c.tar.bz2
yuzu-36e60c217a722ae3a63894a263db31e54223ad0c.tar.lz
yuzu-36e60c217a722ae3a63894a263db31e54223ad0c.tar.xz
yuzu-36e60c217a722ae3a63894a263db31e54223ad0c.tar.zst
yuzu-36e60c217a722ae3a63894a263db31e54223ad0c.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/result.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/result.h b/src/core/hle/result.h
index 97fef7a48..052f49979 100644
--- a/src/core/hle/result.h
+++ b/src/core/hle/result.h
@@ -200,6 +200,9 @@ public:
}
ResultVal& operator=(const ResultVal& o) {
+ if (this == &o) {
+ return *this;
+ }
if (!empty()) {
if (!o.empty()) {
object = o.object;