mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From josep...@apache.org
Subject mesos git commit: Fixed a compilation issue on clang.
Date Mon, 22 Aug 2016 16:59:05 GMT
Repository: mesos
Updated Branches:
  refs/heads/master acb814b4a -> 719375518


Fixed a compilation issue on clang.

This function needs an explicit return type declaration,
otherwise Clang will fail to compile it.

Review: https://reviews.apache.org/r/51285/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/71937551
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/71937551
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/71937551

Branch: refs/heads/master
Commit: 7193755181764f3d6b6ca9742ae3470c798c3d4c
Parents: acb814b
Author: haosdent huang <haosdent@gmail.com>
Authored: Mon Aug 22 09:57:07 2016 -0700
Committer: Joseph Wu <josephwu@apache.org>
Committed: Mon Aug 22 09:57:26 2016 -0700

----------------------------------------------------------------------
 src/slave/containerizer/mesos/containerizer.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/71937551/src/slave/containerizer/mesos/containerizer.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/containerizer.cpp b/src/slave/containerizer/mesos/containerizer.cpp
index 77a502f..d065464 100644
--- a/src/slave/containerizer/mesos/containerizer.cpp
+++ b/src/slave/containerizer/mesos/containerizer.cpp
@@ -1959,7 +1959,9 @@ Future<list<Future<Nothing>>> MesosContainerizerProcess::cleanupIsolators(
       // list. We use await here to asynchronously wait for the
       // isolator to complete then return cleanups.
       return await(list<Future<Nothing>>({cleanup}))
-        .then([cleanups]() { return cleanups; });
+        .then([cleanups]() -> Future<list<Future<Nothing>>> {
+          return cleanups;
+        });
     });
   }
 


Mime
View raw message