You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by al...@apache.org on 2016/11/20 19:35:00 UTC

mesos git commit: Initialized all ObjectApprover member fields in all c-tors.

Repository: mesos
Updated Branches:
  refs/heads/master 1881bab2e -> d2ab4b49d


Initialized all ObjectApprover member fields in all c-tors.

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


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

Branch: refs/heads/master
Commit: d2ab4b49d3cc0b86bacc5ec3400b46cfa70c3a7b
Parents: 1881bab
Author: Benjamin Bannier <be...@mesosphere.io>
Authored: Sun Nov 20 20:24:46 2016 +0100
Committer: Alexander Rukletsov <al...@apache.org>
Committed: Sun Nov 20 20:24:46 2016 +0100

----------------------------------------------------------------------
 include/mesos/authorizer/authorizer.hpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/d2ab4b49/include/mesos/authorizer/authorizer.hpp
----------------------------------------------------------------------
diff --git a/include/mesos/authorizer/authorizer.hpp b/include/mesos/authorizer/authorizer.hpp
index 7217600..3cd0f84 100644
--- a/include/mesos/authorizer/authorizer.hpp
+++ b/include/mesos/authorizer/authorizer.hpp
@@ -51,7 +51,9 @@ public:
         task(nullptr),
         task_info(nullptr),
         executor_info(nullptr),
-        quota_info(nullptr) {}
+        quota_info(nullptr),
+        weight_info(nullptr),
+        resource(nullptr) {}
 
     Object(const authorization::Object& object)
       : value(object.has_value() ? &object.value() : nullptr),