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

(Updated Jan. 7, 2016, 4:47 a.m.)


Review request for mesos, Joris Van Remoortere and Michael Park.


Changes
-------

Updated review deps.


Repository: mesos


Description
-------

This trivial change adds ref-qualifiers introduced in C++11 to Option::get(). 
This is in sync with what boost/folly `optional` already have.


Diffs (updated)
-----

  3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp 
b58350b312c1969aa86ec679e95af0f97846c141 

Diff: https://reviews.apache.org/r/41870/diff/


Testing
-------

make check

Verified this enables operations like the following to incur a move instead of 
a copy:

```
Option<T> create();
T t = create().get();
```


Thanks,

Anand Mazumdar

Reply via email to