Repository: mesos Updated Branches: refs/heads/master 764fa2cbe -> 5d77c5bcb
Fixed the ordering of the stream operator overload for RLimitInfo. This patch moves the declaration of the `operator<<` overload for the `RLimitInfo` protobuf message to be consistent with the ordering of its definition, which is in alphabetical order. Review: https://reviews.apache.org/r/57933/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5d77c5bc Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/5d77c5bc Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/5d77c5bc Branch: refs/heads/master Commit: 5d77c5bcb6d6110e2bf7dcd07a01487ef0a6fd65 Parents: 764fa2c Author: Greg Mann <[email protected]> Authored: Thu Apr 6 17:53:44 2017 -0700 Committer: Vinod Kone <[email protected]> Committed: Thu Apr 6 17:53:44 2017 -0700 ---------------------------------------------------------------------- include/mesos/type_utils.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/5d77c5bc/include/mesos/type_utils.hpp ---------------------------------------------------------------------- diff --git a/include/mesos/type_utils.hpp b/include/mesos/type_utils.hpp index b91a96c..5f771aa 100644 --- a/include/mesos/type_utils.hpp +++ b/include/mesos/type_utils.hpp @@ -309,6 +309,9 @@ std::ostream& operator<<( const ResourceProviderID& resourceProviderId); +std::ostream& operator<<(std::ostream& stream, const RLimitInfo& rlimitInfo); + + std::ostream& operator<<(std::ostream& stream, const SlaveID& slaveId); @@ -346,9 +349,6 @@ std::ostream& operator<<(std::ostream& stream, const Image::Type& imageType); std::ostream& operator<<(std::ostream& stream, const Secret::Type& secretType); -std::ostream& operator<<(std::ostream& stream, const RLimitInfo& rlimitInfo); - - template <typename T> inline std::ostream& operator<<( std::ostream& stream,
