Repository: mesos Updated Branches: refs/heads/master 5ff52b6b8 -> 8d4b1d504
Fix compilation error for clang-3.5 type deduction error. While we figure out how to avoid this bug in clang-3.5, we can allow people to compile by explicitly specifying the return type of the lambda. Review: https://reviews.apache.org/r/36245 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8d4b1d50 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/8d4b1d50 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/8d4b1d50 Branch: refs/heads/master Commit: 8d4b1d50412993ff63970c493154ae13ebfb6fda Parents: 35ddcf0 Author: Joris Van Remoortere <[email protected]> Authored: Tue Jul 7 06:29:09 2015 -0700 Committer: Benjamin Hindman <[email protected]> Committed: Tue Jul 7 06:32:12 2015 -0700 ---------------------------------------------------------------------- 3rdparty/libprocess/src/libevent_ssl_socket.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/8d4b1d50/3rdparty/libprocess/src/libevent_ssl_socket.cpp ---------------------------------------------------------------------- diff --git a/3rdparty/libprocess/src/libevent_ssl_socket.cpp b/3rdparty/libprocess/src/libevent_ssl_socket.cpp index ab05fea..1ef925c 100644 --- a/3rdparty/libprocess/src/libevent_ssl_socket.cpp +++ b/3rdparty/libprocess/src/libevent_ssl_socket.cpp @@ -783,7 +783,9 @@ Try<Nothing> LibeventSSLSocketImpl::listen(int backlog) Future<Socket> LibeventSSLSocketImpl::accept() { return accept_queue.get() - .then([](const Future<Socket>& future) { return future; }); + .then([](const Future<Socket>& future) -> Future<Socket> { + return future; + }); }
