You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mp...@apache.org on 2016/02/25 09:30:53 UTC
[2/2] mesos git commit: Removed a stale comment from `future.hpp`.
Removed a stale comment from `future.hpp`.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/014223c6
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/014223c6
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/014223c6
Branch: refs/heads/master
Commit: 014223c633f90bef0f7c419ff67fb7a0924a33ee
Parents: e421c5a
Author: Michael Park <mp...@apache.org>
Authored: Wed Feb 24 23:29:13 2016 -0800
Committer: Michael Park <mp...@apache.org>
Committed: Wed Feb 24 23:36:07 2016 -0800
----------------------------------------------------------------------
3rdparty/libprocess/include/process/future.hpp | 3 ---
1 file changed, 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/014223c6/3rdparty/libprocess/include/process/future.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/include/process/future.hpp b/3rdparty/libprocess/include/process/future.hpp
index 9439b73..2531fa9 100644
--- a/3rdparty/libprocess/include/process/future.hpp
+++ b/3rdparty/libprocess/include/process/future.hpp
@@ -789,9 +789,6 @@ Future<Future<T>> select(const std::set<Future<T>>& futures)
lambda::bind(&internal::discarded<Future<T>>, promise->future()));
foreach (const Future<T>& future, futures) {
- // NOTE: We can't use std::bind with a std::function with Clang
- // like we do below (see
- // http://stackoverflow.com/questions/20097616/stdbind-to-a-stdfunction-crashes-with-clang).
future.onAny([=](const Future<T>& f) {
internal::select(f, promise);
});