cmdopt: silence overload hiding warnings
This commit is contained in:
parent
7df897cd5f
commit
4f366b6b88
@ -48,6 +48,7 @@ namespace util { namespace cmdopt {
|
|||||||
public:
|
public:
|
||||||
value (std::string name, T&);
|
value (std::string name, T&);
|
||||||
|
|
||||||
|
using base::execute;
|
||||||
void execute (const char *restrict) override;
|
void execute (const char *restrict) override;
|
||||||
|
|
||||||
T data (void) const;
|
T data (void) const;
|
||||||
@ -62,6 +63,8 @@ namespace util { namespace cmdopt {
|
|||||||
class count : public value<T> {
|
class count : public value<T> {
|
||||||
public:
|
public:
|
||||||
count (std::string name);
|
count (std::string name);
|
||||||
|
|
||||||
|
using value<T>::execute;
|
||||||
void execute (void) override;
|
void execute (void) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -69,6 +72,8 @@ namespace util { namespace cmdopt {
|
|||||||
class bytes : public value<size_t> {
|
class bytes : public value<size_t> {
|
||||||
public:
|
public:
|
||||||
bytes (std::string name);
|
bytes (std::string name);
|
||||||
|
|
||||||
|
using value<size_t>::execute;
|
||||||
void execute (const char *restrict) override;
|
void execute (const char *restrict) override;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user