You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Dominic Hamon (JIRA)" <ji...@apache.org> on 2014/03/26 19:53:18 UTC
[jira] [Commented] (MESOS-1147) Result and Try should return const
& for messages rather than copy
[ https://issues.apache.org/jira/browse/MESOS-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13948311#comment-13948311 ]
Dominic Hamon commented on MESOS-1147:
--------------------------------------
https://reviews.apache.org/r/18489
> Result and Try should return const & for messages rather than copy
> ------------------------------------------------------------------
>
> Key: MESOS-1147
> URL: https://issues.apache.org/jira/browse/MESOS-1147
> Project: Mesos
> Issue Type: Task
> Components: stout
> Reporter: Dominic Hamon
> Assignee: Dominic Hamon
>
> Coping the message on return is wasteful - a const reference should be returned instead.
--
This message was sent by Atlassian JIRA
(v6.2#6252)