Use std::size_t consistently

charconv
Martchus 2 years ago
parent c6095fbaf8
commit df126ab51c
  1. 2
      application/argumentparser.h
  2. 2
      application/argumentparserprivate.h

@ -362,7 +362,7 @@ public:
private:
// 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;
char m_abbreviation;

@ -18,7 +18,7 @@ public:
/// \brief The Argument instances to store the results. Sub arguments of args are considered as well.
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.
size_t index;
std::size_t index;
/// \brief Points to the first argument denotation and will be incremented when a denotation has been processed.
const char *const *argv;
/// \brief Points to the end of the \a argv array.

Loading…
Cancel
Save