You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Artem Harutyunyan (JIRA)" <ji...@apache.org> on 2015/09/25 17:19:04 UTC
[jira] [Commented] (MESOS-3454) Remove duplicated logic in
Flags::load
[ https://issues.apache.org/jira/browse/MESOS-3454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14908134#comment-14908134 ]
Artem Harutyunyan commented on MESOS-3454:
------------------------------------------
Can we get a shepherd for this one before accepting?
> Remove duplicated logic in Flags::load
> --------------------------------------
>
> Key: MESOS-3454
> URL: https://issues.apache.org/jira/browse/MESOS-3454
> Project: Mesos
> Issue Type: Bug
> Components: stout
> Reporter: Klaus Ma
> Priority: Minor
>
> In {{flags.hpp}}, there are two functions with almost the same logic; this ticket is used to merge the duplicated part.
> {code}
> inline Try<Nothing> FlagsBase::load(
> const Option<std::string>& prefix,
> int* argc,
> char*** argv,
> bool unknowns,
> bool duplicates)
> ...
> inline Try<Nothing> FlagsBase::load(
> const Option<std::string>& prefix,
> int argc,
> const char* const *argv,
> bool unknowns,
> bool duplicates)
> ...
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)