You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ti...@apache.org on 2016/03/29 23:08:08 UTC

mesos git commit: Cleaned up FilesProcess construction.

Repository: mesos
Updated Branches:
  refs/heads/master e8a1a578f -> 0976ada87


Cleaned up FilesProcess construction.

Moves the FilesProcess realm initialization from constructor to
initializer list.

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


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

Branch: refs/heads/master
Commit: 0976ada8799e36979937e9c987de15576d1c01a7
Parents: e8a1a57
Author: Joerg Schad <jo...@mesosphere.io>
Authored: Tue Mar 29 22:38:04 2016 +0200
Committer: Till Toenshoff <to...@me.com>
Committed: Tue Mar 29 22:38:04 2016 +0200

----------------------------------------------------------------------
 src/files/files.cpp | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/0976ada8/src/files/files.cpp
----------------------------------------------------------------------
diff --git a/src/files/files.cpp b/src/files/files.cpp
index a8b2751..4e91610 100644
--- a/src/files/files.cpp
+++ b/src/files/files.cpp
@@ -140,10 +140,8 @@ private:
 
 
 FilesProcess::FilesProcess(const Option<string>& _authenticationRealm)
-  : ProcessBase("files")
-{
-  authenticationRealm = _authenticationRealm;
-}
+  : ProcessBase("files"),
+    authenticationRealm(_authenticationRealm) {}
 
 
 void FilesProcess::initialize()