You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bb...@apache.org on 2018/10/19 07:35:10 UTC

[mesos] branch master updated: Reordered method declarations.

This is an automated email from the ASF dual-hosted git repository.

bbannier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new ba3c159  Reordered method declarations.
ba3c159 is described below

commit ba3c1596cf1e95b4f3aa2f8b16d5c461b0936ac1
Author: Benjamin Bannier <bb...@apache.org>
AuthorDate: Fri Oct 19 09:29:45 2018 +0200

    Reordered method declarations.
---
 3rdparty/libprocess/include/process/future.hpp | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/3rdparty/libprocess/include/process/future.hpp b/3rdparty/libprocess/include/process/future.hpp
index deea369..4281d31 100644
--- a/3rdparty/libprocess/include/process/future.hpp
+++ b/3rdparty/libprocess/include/process/future.hpp
@@ -704,15 +704,16 @@ class Promise
 {
 public:
   Promise();
-  explicit Promise(const T& t);
   virtual ~Promise();
 
-  // Not copyable, not assignable.
-  Promise(const Promise& that) = delete;
+  explicit Promise(const T& t);
+
   Promise(Promise&& that) = default;
-  Promise& operator=(const Promise&) = delete;
   Promise& operator=(Promise&&) = default;
 
+  // Not copyable, not assignable.
+  Promise(const Promise& that) = delete;
+  Promise& operator=(const Promise&) = delete;
 
   bool discard();
   bool set(const T& _t);