mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bmah...@apache.org
Subject mesos git commit: Added missing include in cpp file.
Date Fri, 24 Jul 2015 17:49:55 GMT
Repository: mesos
Updated Branches:
  refs/heads/master 51a0dab78 -> 71b57cfed


Added missing include in cpp file.

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


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

Branch: refs/heads/master
Commit: 71b57cfed5aed5101ab1c26a4559a49cf2ae3d13
Parents: 51a0dab
Author: Anand Mazumdar <mazumdar.anand@gmail.com>
Authored: Fri Jul 24 10:49:26 2015 -0700
Committer: Benjamin Mahler <benjamin.mahler@gmail.com>
Committed: Fri Jul 24 10:49:27 2015 -0700

----------------------------------------------------------------------
 src/common/protobuf_utils.cpp | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/71b57cfe/src/common/protobuf_utils.cpp
----------------------------------------------------------------------
diff --git a/src/common/protobuf_utils.cpp b/src/common/protobuf_utils.cpp
index 4cfbda4..d900707 100644
--- a/src/common/protobuf_utils.cpp
+++ b/src/common/protobuf_utils.cpp
@@ -27,6 +27,8 @@
 #include <stout/stringify.hpp>
 #include <stout/uuid.hpp>
 
+#include "common/protobuf_utils.hpp"
+
 #include "messages/messages.hpp"
 
 using std::string;
@@ -55,11 +57,11 @@ StatusUpdate createStatusUpdate(
     const TaskState& state,
     const TaskStatus::Source& source,
     const Option<UUID>& uuid,
-    const string& message = "",
-    const Option<TaskStatus::Reason>& reason = None(),
-    const Option<ExecutorID>& executorId = None(),
-    const Option<bool>& healthy = None(),
-    const Option<Labels>& labels = None())
+    const string& message,
+    const Option<TaskStatus::Reason>& reason,
+    const Option<ExecutorID>& executorId,
+    const Option<bool>& healthy,
+    const Option<Labels>& labels)
 {
   StatusUpdate update;
 


Mime
View raw message