Skip to content

Commit

Permalink
[arser] Reorder name field (#14451)
Browse files Browse the repository at this point in the history
This commit reorders the name field to follow constructor initialization order.

ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh <[email protected]>
Co-authored-by: Jang Jiseob <[email protected]>
  • Loading branch information
hseok-oh and ragmani authored Dec 16, 2024
1 parent e10946e commit c40a382
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/arser/include/arser/arser.h
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,9 @@ class Argument

private:
// The '_names' vector contains all of the options specified by the user.
// And among them, '_long_name' and '_short_name' are selected.
std::string _long_name;
// And among them, '_short_name' and '_long_name' are selected.
std::string _short_name;
std::string _long_name;
std::vector<std::string> _names;
std::string _type = "string";
std::vector<std::string> _help_message;
Expand Down

0 comments on commit c40a382

Please sign in to comment.