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

Review request for mesos and Benjamin Bannier.


Repository: mesos


Description
-------

`std::get` returns a reference; in most cases we can avoid a copy at the
call site by assigning the result to a const reference.

Spotted via clang-tidy.


Diffs
-----

  src/checks/health_checker.cpp 2211228f7aa0228af64d8fce6c5f2dd1847328f9 
  src/common/command_utils.cpp cb9de720814c7c69758d167fbe6292f12cd73224 
  src/hdfs/hdfs.cpp 93450b9c18198c5e841ba9dc7ec6e903cf119f89 
  src/linux/perf.cpp 2271564eeb6c8e5b7dca1461f3f94f1c12b35a1a 
  src/slave/containerizer/mesos/isolators/docker/volume/driver.cpp 
8cc1b12624ce92afa9e2d535cfbdebf5cc3cae35 
  src/slave/containerizer/mesos/isolators/network/cni/cni.cpp 
6e95315b70a5d9d3b4b21c4cf235b0a483760190 
  
src/slave/containerizer/mesos/isolators/network/cni/plugins/port_mapper/port_mapper.cpp
 1be8c23e62dee7fb2f9bca23e550ab5884ad8b63 
  src/slave/containerizer/mesos/isolators/posix/disk.cpp 
805566ca9c346e9c1987f804bcc5d111886eb729 
  src/uri/fetchers/copy.cpp 9c79ac6075a8350b52676d5e219491ded3d3625e 
  src/uri/fetchers/curl.cpp a592eb501fda859764d5f14d866032ca8ca3dc97 
  src/uri/fetchers/docker.cpp d051a4d534c24ef6c4dd98181a0f2a175c69d0f9 


Diff: https://reviews.apache.org/r/58039/diff/1/


Testing
-------

`make check`


Thanks,

Neil Conway

Reply via email to