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

Review request for mesos, Benjamin Bannier, Jie Yu, and Michael Park.


Repository: mesos


Description
-------

Clang 3.5 incorrectly keeps const qualifiers when inferring the return
types of lambdas if their return expressions are const-qualified. This
patch makes the return types explicit to avoid this issue when compiling
SLRP.


Diffs
-----

  src/resource_provider/storage/provider.cpp 
fc48072aac531bac3cbffc3ba089b8dfa2a2f200 


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


Testing
-------

make check with clang 3.5.


Thanks,

Chun-Hung Hsiao

Reply via email to