You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Guangya Liu <gy...@gmail.com> on 2015/08/31 23:25:21 UTC

Review Request 37968: Add more comments for why not using const reference for some functions

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

Review request for mesos and Michael Park.


Bugs: MESOS-3344
    https://issues.apache.org/jira/browse/MESOS-3344


Repository: mesos


Description
-------

Add more comments for why not using const reference for some functions


Diffs
-----

  3rdparty/libprocess/3rdparty/stout/include/stout/format.hpp 1cf6dd18aa163688d6c8f3a6d33eacad3918015d 
  3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/shell.hpp 68fc1fd179ee51fc5de0452c0f2ea3d354e0567f 
  3rdparty/libprocess/3rdparty/stout/include/stout/os/windows/shell.hpp 01e59de466496dec9367ad6f48538327f53a7e18 

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


Testing
-------


Thanks,

Guangya Liu


Re: Review Request 37968: Add more comments for why not using const reference for some functions

Posted by Mesos ReviewBot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37968/#review97184
-----------------------------------------------------------


Patch looks great!

Reviews applied: [37968]

All tests passed.

- Mesos ReviewBot


On Aug. 31, 2015, 9:25 p.m., Guangya Liu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37968/
> -----------------------------------------------------------
> 
> (Updated Aug. 31, 2015, 9:25 p.m.)
> 
> 
> Review request for mesos and Michael Park.
> 
> 
> Bugs: MESOS-3344
>     https://issues.apache.org/jira/browse/MESOS-3344
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Add more comments for why not using const reference for some functions
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/3rdparty/stout/include/stout/format.hpp 1cf6dd18aa163688d6c8f3a6d33eacad3918015d 
>   3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/shell.hpp 68fc1fd179ee51fc5de0452c0f2ea3d354e0567f 
>   3rdparty/libprocess/3rdparty/stout/include/stout/os/windows/shell.hpp 01e59de466496dec9367ad6f48538327f53a7e18 
> 
> Diff: https://reviews.apache.org/r/37968/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Guangya Liu
> 
>


Re: Review Request 37968: Add more comments for why not using const reference for some functions

Posted by Michael Park <mc...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37968/#review98366
-----------------------------------------------------------

Ship it!


I've committed this for you with the following minor changes!


3rdparty/libprocess/3rdparty/stout/include/stout/format.hpp (line 85)
<https://reviews.apache.org/r/37968/#comment154813>

    `s/for detail/for further details/`



3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/shell.hpp (line 57)
<https://reviews.apache.org/r/37968/#comment154812>

    Removed this newline.


- Michael Park


On Sept. 10, 2015, 2:38 a.m., Guangya Liu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37968/
> -----------------------------------------------------------
> 
> (Updated Sept. 10, 2015, 2:38 a.m.)
> 
> 
> Review request for mesos and Michael Park.
> 
> 
> Bugs: MESOS-3344
>     https://issues.apache.org/jira/browse/MESOS-3344
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Add more comments for why not using const reference for some functions
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/3rdparty/stout/include/stout/format.hpp 1cf6dd18aa163688d6c8f3a6d33eacad3918015d 
>   3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/shell.hpp 68fc1fd179ee51fc5de0452c0f2ea3d354e0567f 
>   3rdparty/libprocess/3rdparty/stout/include/stout/os/windows/shell.hpp 01e59de466496dec9367ad6f48538327f53a7e18 
> 
> Diff: https://reviews.apache.org/r/37968/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Guangya Liu
> 
>


Re: Review Request 37968: Add more comments for why not using const reference for some functions

Posted by Mesos ReviewBot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37968/#review98363
-----------------------------------------------------------


Patch looks great!

Reviews applied: [37968]

All tests passed.

- Mesos ReviewBot


On Sept. 10, 2015, 2:38 a.m., Guangya Liu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37968/
> -----------------------------------------------------------
> 
> (Updated Sept. 10, 2015, 2:38 a.m.)
> 
> 
> Review request for mesos and Michael Park.
> 
> 
> Bugs: MESOS-3344
>     https://issues.apache.org/jira/browse/MESOS-3344
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Add more comments for why not using const reference for some functions
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/3rdparty/stout/include/stout/format.hpp 1cf6dd18aa163688d6c8f3a6d33eacad3918015d 
>   3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/shell.hpp 68fc1fd179ee51fc5de0452c0f2ea3d354e0567f 
>   3rdparty/libprocess/3rdparty/stout/include/stout/os/windows/shell.hpp 01e59de466496dec9367ad6f48538327f53a7e18 
> 
> Diff: https://reviews.apache.org/r/37968/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Guangya Liu
> 
>


Re: Review Request 37968: Add more comments for why not using const reference for some functions

Posted by Guangya Liu <gy...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37968/
-----------------------------------------------------------

(Updated 九月 10, 2015, 2:38 a.m.)


Review request for mesos and Michael Park.


Changes
-------

use variadic templates there to kill the C varargs for shell.hpp


Bugs: MESOS-3344
    https://issues.apache.org/jira/browse/MESOS-3344


Repository: mesos


Description
-------

Add more comments for why not using const reference for some functions


Diffs (updated)
-----

  3rdparty/libprocess/3rdparty/stout/include/stout/format.hpp 1cf6dd18aa163688d6c8f3a6d33eacad3918015d 
  3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/shell.hpp 68fc1fd179ee51fc5de0452c0f2ea3d354e0567f 
  3rdparty/libprocess/3rdparty/stout/include/stout/os/windows/shell.hpp 01e59de466496dec9367ad6f48538327f53a7e18 

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


Testing
-------


Thanks,

Guangya Liu