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 2017/03/16 16:32:17 UTC
mesos git commit: Fixed whitespace and namespace prefix in type utils.
Repository: mesos
Updated Branches:
refs/heads/master e89575580 -> 505486b77
Fixed whitespace and namespace prefix in type utils.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/505486b7
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/505486b7
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/505486b7
Branch: refs/heads/master
Commit: 505486b77025c49de4e551ed975265b43d9bf07d
Parents: e895755
Author: Alexander Rukletsov <al...@apache.org>
Authored: Thu Mar 16 16:53:27 2017 +0100
Committer: Alexander Rukletsov <al...@apache.org>
Committed: Thu Mar 16 17:32:02 2017 +0100
----------------------------------------------------------------------
include/mesos/type_utils.hpp | 2 ++
src/common/type_utils.cpp | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/505486b7/include/mesos/type_utils.hpp
----------------------------------------------------------------------
diff --git a/include/mesos/type_utils.hpp b/include/mesos/type_utils.hpp
index f22e9ea..6218743 100644
--- a/include/mesos/type_utils.hpp
+++ b/include/mesos/type_utils.hpp
@@ -261,8 +261,10 @@ std::ostream& operator<<(
std::ostream& stream,
const ContainerInfo& containerInfo);
+
std::ostream& operator<<(std::ostream& stream, const Environment& environment);
+
std::ostream& operator<<(std::ostream& stream, const ExecutorID& executorId);
http://git-wip-us.apache.org/repos/asf/mesos/blob/505486b7/src/common/type_utils.cpp
----------------------------------------------------------------------
diff --git a/src/common/type_utils.cpp b/src/common/type_utils.cpp
index ef26335..1fce522 100644
--- a/src/common/type_utils.cpp
+++ b/src/common/type_utils.cpp
@@ -462,7 +462,7 @@ bool operator!=(const CheckStatusInfo& left, const CheckStatusInfo& right)
}
-ostream& operator<<(std::ostream& stream, const CapabilityInfo& capabilityInfo)
+ostream& operator<<(ostream& stream, const CapabilityInfo& capabilityInfo)
{
return stream << JSON::protobuf(capabilityInfo);
}