mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-04 15:14:39 +00:00
Remove undesired access control
This commit is contained in:
parent
955e1e1e6c
commit
daeca099e2
@ -64,7 +64,7 @@ struct is_container<
|
|||||||
decltype(std::declval<T>().begin()),
|
decltype(std::declval<T>().begin()),
|
||||||
decltype(std::declval<T>().end()),
|
decltype(std::declval<T>().end()),
|
||||||
decltype(std::declval<T>().size())>,
|
decltype(std::declval<T>().size())>,
|
||||||
void>> : public std::true_type {};
|
void>> : std::true_type {};
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
static constexpr bool is_container_v = is_container<T>::value;
|
static constexpr bool is_container_v = is_container<T>::value;
|
||||||
@ -363,7 +363,6 @@ private:
|
|||||||
bool mIsRequired = false;
|
bool mIsRequired = false;
|
||||||
bool mIsUsed = false; // relevant for optional arguments. True if used by user
|
bool mIsUsed = false; // relevant for optional arguments. True if used by user
|
||||||
|
|
||||||
public:
|
|
||||||
static constexpr auto mHelpOption = "-h";
|
static constexpr auto mHelpOption = "-h";
|
||||||
static constexpr auto mHelpOptionLong = "--help";
|
static constexpr auto mHelpOptionLong = "--help";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user