You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2020/04/13 19:00:41 UTC

[mesos] branch master updated: Fixed missing find_if namespace qualification.

This is an automated email from the ASF dual-hosted git repository.

bmahler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new 690e8c1  Fixed missing find_if namespace qualification.
690e8c1 is described below

commit 690e8c1fd8300b9738f42f831631b6ca5f0da221
Author: Bo Anderson <ma...@boanderson.me>
AuthorDate: Mon Apr 13 14:59:59 2020 -0400

    Fixed missing find_if namespace qualification.
    
    See 0273fbc2638c581528cc5819da2e0c9b1a9c235e for why this is needed.
    This one was just left out from that commit, but is included in
    FreeBSD's patches.
    
    This closes #357
---
 src/master/quota.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/master/quota.cpp b/src/master/quota.cpp
index 905937c..e2c94a3 100644
--- a/src/master/quota.cpp
+++ b/src/master/quota.cpp
@@ -109,7 +109,7 @@ Try<bool> UpdateQuota::perform(
     google::protobuf::RepeatedPtrField<Registry::Quota>& quotas =
       *registry->mutable_quotas();
 
-    int quotaIndex = find_if(
+    int quotaIndex = std::find_if(
         quotas.begin(),
         quotas.end(),
         [&](const Registry::Quota& quota) {