mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mesos Reviewbot Windows <revi...@mesos.apache.org>
Subject Re: Review Request 67927: Removed unneeded lambda capture.
Date Mon, 16 Jul 2018 18:02:29 GMT

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



PASS: Mesos patch 67927 was successfully built and tested.

Reviews applied: `['67927']`

All the build artifacts available at: http://dcos-win.westus.cloudapp.azure.com/artifacts/mesos-reviewbot-testing/1933/mesos-review-67927

- Mesos Reviewbot Windows


On July 16, 2018, 12:37 p.m., Benjamin Bannier wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/67927/
> -----------------------------------------------------------
> 
> (Updated July 16, 2018, 12:37 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman and Dario Rexin.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> In some instances variables used in the body of a lambda do not need
> to be captured explicitly, see e.g.,
> https://stackoverflow.com/a/43468519/176922. Support for this across
> compiler vendors seems to be incomplete at this point; while e.g.,
> clang emits a warning (which we potentially turn into a fatal error)
> for this, msvc still seems to require such variables to be captured.
> 
> To provide a warning free build this patch moves from the usually
> preferred explicit capture list to an implicit capture by reference.
> This allows us to capture all needed variables correctly without
> having to capture too much.
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/src/tests/benchmarks.cpp e8ef21fd9c203ac5e10c17694393322151231435

> 
> 
> Diff: https://reviews.apache.org/r/67927/diff/2/
> 
> 
> Testing
> -------
> 
> Tested on a number of platforms and compilers in internal CI.
> 
> 
> Thanks,
> 
> Benjamin Bannier
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message