Use std::size_t consistently
This commit is contained in:
parent
c6095fbaf8
commit
df126ab51c
|
@ -362,7 +362,7 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// declare internal getter/setter/properties/operations for argument definition
|
// declare internal getter/setter/properties/operations for argument definition
|
||||||
bool matchesDenotation(const char *denotation, size_t denotationLength) const;
|
bool matchesDenotation(const char *denotation, std::size_t denotationLength) const;
|
||||||
|
|
||||||
const char *m_name;
|
const char *m_name;
|
||||||
char m_abbreviation;
|
char m_abbreviation;
|
||||||
|
|
|
@ -18,7 +18,7 @@ public:
|
||||||
/// \brief The Argument instances to store the results. Sub arguments of args are considered as well.
|
/// \brief The Argument instances to store the results. Sub arguments of args are considered as well.
|
||||||
ArgumentVector &args;
|
ArgumentVector &args;
|
||||||
/// \brief An index which is incremented when an argument is encountered (the current index is stored in the occurrence) or a value is encountered.
|
/// \brief An index which is incremented when an argument is encountered (the current index is stored in the occurrence) or a value is encountered.
|
||||||
size_t index;
|
std::size_t index;
|
||||||
/// \brief Points to the first argument denotation and will be incremented when a denotation has been processed.
|
/// \brief Points to the first argument denotation and will be incremented when a denotation has been processed.
|
||||||
const char *const *argv;
|
const char *const *argv;
|
||||||
/// \brief Points to the end of the \a argv array.
|
/// \brief Points to the end of the \a argv array.
|
||||||
|
|
Loading…
Reference in New Issue