Repository: mesos
Updated Branches:
  refs/heads/master 24a746d85 -> 7d8ae37b0


Added a default move constructor for Result.

Review: https://reviews.apache.org/r/65200


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7d8ae37b
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/7d8ae37b
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/7d8ae37b

Branch: refs/heads/master
Commit: 7d8ae37b022ac82c6945ff07ac980017f347b45e
Parents: 24a746d
Author: Benjamin Mahler <bmah...@apache.org>
Authored: Wed Jan 17 15:28:24 2018 -0800
Committer: Benjamin Mahler <bmah...@apache.org>
Committed: Wed Jan 17 15:29:00 2018 -0800

----------------------------------------------------------------------
 3rdparty/stout/include/stout/result.hpp | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/7d8ae37b/3rdparty/stout/include/stout/result.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/stout/include/stout/result.hpp 
b/3rdparty/stout/include/stout/result.hpp
index 0ce98fa..1bf353b 100644
--- a/3rdparty/stout/include/stout/result.hpp
+++ b/3rdparty/stout/include/stout/result.hpp
@@ -99,7 +99,10 @@ public:
   // We don't need to implement these because we are leveraging
   // Try<Option<T>>.
   Result(const Result<T>& that) = default;
+  Result(Result&& that) = default;
+
   ~Result() = default;
+
   Result<T>& operator=(const Result<T>& that) = default;
   Result<T>& operator=(Result<T>&& that) = default;
 

Reply via email to