aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/result.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-06-18 19:03:15 -0700
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-06-18 19:03:15 -0700
commit723dc644faa6e29250d1b7fa914dfb7c75d8aec5 (patch)
treec7ad927e2cbe1424046e279b3212ac895f4b1e87 /src/core/hle/result.h
parent4cb47b027888de95aa0d432338909b65b33feec7 (diff)
ResultVal: Remove MoveFrom()
Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue.
Diffstat (limited to 'src/core/hle/result.h')
-rw-r--r--src/core/hle/result.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/hle/result.h b/src/core/hle/result.h
index 55bd8d22f..47b6e2b23 100644
--- a/src/core/hle/result.h
+++ b/src/core/hle/result.h
@@ -398,10 +398,6 @@ public:
return std::move(**this);
}
- T&& MoveFrom() {
- return std::move(Unwrap());
- }
-
private:
// A union is used to allocate the storage for the value, while allowing us to construct and
// destruct it at will.