Remove a useless "public" keyword use in arguments.hpp

This commit is contained in:
Username404-59 2021-10-03 19:13:48 +02:00
parent ff8bf6d1de
commit 014680ec95
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ protected:
}
};
struct ArgumentShort: public Argument {
struct ArgumentShort: Argument {
const string shortVersion;
ArgumentShort(string shortName, string name): Argument(move(name)), shortVersion(move(shortName)) {}
explicit ArgumentShort(string name): ArgumentShort(string(1, name.at(0)), name) {}