Repository: mesos Updated Branches: refs/heads/master b923cb529 -> ca4224305
Fixed style issues in master.hpp. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ca422430 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ca422430 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/ca422430 Branch: refs/heads/master Commit: ca42243051cc4f0735a4bb1b6c661bf4fb043b9c Parents: b923cb5 Author: Vinod Kone <[email protected]> Authored: Sat Aug 8 17:03:04 2015 -0700 Committer: Vinod Kone <[email protected]> Committed: Sat Aug 8 17:04:39 2015 -0700 ---------------------------------------------------------------------- src/master/master.hpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/ca422430/src/master/master.hpp ---------------------------------------------------------------------- diff --git a/src/master/master.hpp b/src/master/master.hpp index 2f2de4f..40883ff 100644 --- a/src/master/master.hpp +++ b/src/master/master.hpp @@ -1245,14 +1245,15 @@ inline std::ostream& operator << ( struct HttpConnection { HttpConnection(const process::http::Pipe::Writer& _writer, - ContentType _contentType) - : writer(_writer), - contentType(_contentType), - encoder(lambda::bind(serialize, contentType, lambda::_1)) {} + ContentType _contentType) + : writer(_writer), + contentType(_contentType), + encoder(lambda::bind(serialize, contentType, lambda::_1)) {} // Converts the message to an Event before sending. template <typename Message> - bool send(const Message& message) { + bool send(const Message& message) + { // We need to evolve the internal "message" into a // 'v1::scheduler::Event' which we then devolve back to an // pre-versioned 'scheduler::Event' which we use internally.
