Repository: mesos Updated Branches: refs/heads/master f7fccce2e -> 905e6cca7
Fixed a compiler issue on gcc-4.6. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/905e6cca Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/905e6cca Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/905e6cca Branch: refs/heads/master Commit: 905e6cca708fad0d022f26bacb21a2c289760b7b Parents: f7fccce Author: Benjamin Mahler <[email protected]> Authored: Mon Mar 30 18:26:49 2015 -0700 Committer: Benjamin Mahler <[email protected]> Committed: Mon Mar 30 18:26:49 2015 -0700 ---------------------------------------------------------------------- 3rdparty/libprocess/src/http.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/905e6cca/3rdparty/libprocess/src/http.cpp ---------------------------------------------------------------------- diff --git a/3rdparty/libprocess/src/http.cpp b/3rdparty/libprocess/src/http.cpp index 7e6cbd3..eed42ad 100644 --- a/3rdparty/libprocess/src/http.cpp +++ b/3rdparty/libprocess/src/http.cpp @@ -820,7 +820,8 @@ Future<Response> _request( Owned<StreamingResponseDecoder> decoder(new StreamingResponseDecoder()); Future<Response> pipeResponse = socket.send(out.str()) - .then(lambda::bind(recv, socket, None())) + .then(lambda::function<Future<string>(void)>( + lambda::bind(recv, socket, None()))) .then(lambda::bind(&internal::decode, socket, decoder, lambda::_1)); if (streamedResponse) {
