You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by al...@apache.org on 2017/04/27 13:39:26 UTC
mesos git commit: Removed unused capture of this.
Repository: mesos
Updated Branches:
refs/heads/master 0d2db6c87 -> 5ac18cfcd
Removed unused capture of this.
clang-5 has a warning about unused lambda captures in its -Wall set.
Removing this unused capture here to enable building with clang-5.
Review: https://reviews.apache.org/r/58795/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5ac18cfc
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/5ac18cfc
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/5ac18cfc
Branch: refs/heads/master
Commit: 5ac18cfcdd2bd08be17c62468f6748dc853e50f6
Parents: 0d2db6c
Author: Benjamin Bannier <be...@mesosphere.io>
Authored: Thu Apr 27 15:38:17 2017 +0200
Committer: Alexander Rukletsov <al...@apache.org>
Committed: Thu Apr 27 15:38:17 2017 +0200
----------------------------------------------------------------------
src/master/allocator/sorter/drf/sorter.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/5ac18cfc/src/master/allocator/sorter/drf/sorter.cpp
----------------------------------------------------------------------
diff --git a/src/master/allocator/sorter/drf/sorter.cpp b/src/master/allocator/sorter/drf/sorter.cpp
index 73b8e8c..a8b35c4 100644
--- a/src/master/allocator/sorter/drf/sorter.cpp
+++ b/src/master/allocator/sorter/drf/sorter.cpp
@@ -491,7 +491,7 @@ vector<string> DRFSorter::sort()
vector<string> result;
std::function<void (const Node*)> listClients =
- [this, &listClients, &result](const Node* node) {
+ [&listClients, &result](const Node* node) {
if (node->active) {
result.push_back(node->clientPath());
}