-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40755/#review108182
-----------------------------------------------------------



src/common/resources.cpp (lines 777 - 778)
<https://reviews.apache.org/r/40755/#comment167512>

    I think it would be simpler if we were to just use  a lambda here, what do 
you think?
    
    ```cpp
    return filter(
        [](const Resource& resource) { return !resource.isRevocable(); });
    ```


- Michael Park


On Nov. 26, 2015, 5:37 p.m., Alexander Rukletsov wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40755/
> -----------------------------------------------------------
> 
> (Updated Nov. 26, 2015, 5:37 p.m.)
> 
> 
> Review request for mesos and Michael Park.
> 
> 
> Bugs: MESOS-4020
>     https://issues.apache.org/jira/browse/MESOS-4020
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> See summary.
> 
> 
> Diffs
> -----
> 
>   include/mesos/resources.hpp 51c63f8305f6c0313e0b34f912f5e53396a1591d 
>   src/common/resources.cpp b4abf5405039d7d0a5028ccf034ad2e9623d064c 
> 
> Diff: https://reviews.apache.org/r/40755/diff/
> 
> 
> Testing
> -------
> 
> make check (Mac OS X 10.10.4)
> 
> 
> Thanks,
> 
> Alexander Rukletsov
> 
>

Reply via email to