Skip to content

Commit

Permalink
Fixed initialization of _required variable in Argument move constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
EmielBruijntjes committed Mar 17, 2014
1 parent 342d57e commit 78ae297
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/argument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ Argument::Argument(Argument &&argument)

// forget in other object
argument._info = nullptr;

// store if required
_required = argument._required;
}

/**
Expand Down

0 comments on commit 78ae297

Please sign in to comment.