This is an automated email from the ASF dual-hosted git repository.
gilbert pushed a commit to branch 1.5.x
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/1.5.x by this push:
new 0674da1 Fixed compile errors on clang 3.5.
0674da1 is described below
commit 0674da15cb949b2707164be10007da28594e9f60
Author: Andrei Budnik <[email protected]>
AuthorDate: Wed Oct 31 11:37:07 2018 -0700
Fixed compile errors on clang 3.5.
Review: https://reviews.apache.org/r/69217/
(cherry picked from commit a296b820d4d4a25f47caaa3870bc56c6437dd63e)
---
src/slave/http.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/slave/http.cpp b/src/slave/http.cpp
index 677958f..7d0aec2 100644
--- a/src/slave/http.cpp
+++ b/src/slave/http.cpp
@@ -3194,7 +3194,8 @@ Future<Response> Http::_attachContainerInput(
std::move(decoder), encoder, writer);
return slave->containerizer->attach(containerId)
- .then(defer(slave->self(), [=](Connection connection) mutable {
+ .then(defer(slave->self(), [=](
+ Connection connection) mutable -> Future<Response> {
Request request;
request.method = "POST";
request.type = Request::PIPE;