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:37:44 UTC

[mesos] 01/02: 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 master
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit a296b820d4d4a25f47caaa3870bc56c6437dd63e
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/
---
 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 a4db532..0d27ab5 100644
--- a/src/slave/http.cpp
+++ b/src/slave/http.cpp
@@ -3052,7 +3052,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;