This is an automated email from the ASF dual-hosted git repository.
gilbert pushed a commit to branch 1.6.x
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/1.6.x by this push:
new 7ffa60b Fixed compile errors on clang 3.5.
7ffa60b is described below
commit 7ffa60be0a8ab4d9fba669a06446d920fe33b6f9
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 db039bb..386e9aa 100644
--- a/src/slave/http.cpp
+++ b/src/slave/http.cpp
@@ -3054,7 +3054,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;