You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gi...@apache.org on 2018/10/31 18:42:00 UTC
[mesos] branch 1.7.x updated: Fixed compile errors on clang 3.5.
This is an automated email from the ASF dual-hosted git repository.
gilbert pushed a commit to branch 1.7.x
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/1.7.x by this push:
new f93db69 Fixed compile errors on clang 3.5.
f93db69 is described below
commit f93db691f98e1614ded4b5b8a6a25d2416712e09
Author: Andrei Budnik <ab...@mesosphere.com>
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 be8c81f..bd194ba 100644
--- a/src/slave/http.cpp
+++ b/src/slave/http.cpp
@@ -3059,7 +3059,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;