Replace integers with bool value keywords

While the implicit conversions from `1` to `true` work correctly, this
avoids the conversions.

Signed-off-by: Sean Robinson <sean.robinson@scottsdalecc.edu>
This commit is contained in:
Sean Robinson 2021-03-22 13:05:11 -07:00
parent a711f26045
commit 0fe17e22f6

View File

@ -798,9 +798,9 @@ private:
[](const std::string &aValue) { return aValue; }};
std::vector<std::any> mValues;
int mNumArgs = 1;
bool mIsOptional : 1;
bool mIsRequired : 1;
bool mIsUsed : 1; // True if the optional argument is used by user
bool mIsOptional : true;
bool mIsRequired : true;
bool mIsUsed : true; // True if the optional argument is used by user
};
class ArgumentParser {