From 723dc644faa6e29250d1b7fa914dfb7c75d8aec5 Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Sun, 18 Jun 2017 19:03:15 -0700 Subject: ResultVal: Remove MoveFrom() Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue. --- src/core/hle/result.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/core/hle/result.h') 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. -- cgit v1.2.3