You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2017/05/31 21:51:16 UTC
[02/16] mesos git commit: Reordered `Slave` copy constructor and
assignment operator.
Reordered `Slave` copy constructor and assignment operator.
Review: https://reviews.apache.org/r/59671
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a1731d4f
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/a1731d4f
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/a1731d4f
Branch: refs/heads/master
Commit: a1731d4f0ee8ea8a5f882a37cd7874d8bdbd67f4
Parents: e6a865b
Author: Jie Yu <yu...@gmail.com>
Authored: Tue May 30 16:33:34 2017 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Wed May 31 14:51:10 2017 -0700
----------------------------------------------------------------------
src/slave/slave.hpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/a1731d4f/src/slave/slave.hpp
----------------------------------------------------------------------
diff --git a/src/slave/slave.hpp b/src/slave/slave.hpp
index 24b9258..d049956 100644
--- a/src/slave/slave.hpp
+++ b/src/slave/slave.hpp
@@ -476,6 +476,9 @@ private:
friend struct Metrics;
+ Slave(const Slave&) = delete;
+ Slave& operator=(const Slave&) = delete;
+
void _authenticate();
void authenticationTimeout(process::Future<bool> future);
@@ -505,9 +508,6 @@ private:
const FrameworkID& frameworkId,
const ExecutorID& executorId);
- Slave(const Slave&) = delete;
- Slave& operator=(const Slave&) = delete;
-
// Gauge methods.
double _frameworks_active()
{