diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-10-10 22:27:45 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-10-10 22:27:45 +0200 |
commit | e96321af67185460f917846b6f55f96d108c6ba8 (patch) | |
tree | f02c882c1fe867a614eb82fd2a595d82729a6d84 /src/argparser.cc | |
parent | e662cb9875e974bd22a09f164fad41626aa26206 (diff) |
remove unnecessary void in empty function declarations
Diffstat (limited to 'src/argparser.cc')
-rw-r--r-- | src/argparser.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/argparser.cc b/src/argparser.cc index 2d49c5f..621bc5c 100644 --- a/src/argparser.cc +++ b/src/argparser.cc @@ -203,7 +203,7 @@ bool CommandLineArgs::parse(int argc, char *argv[]) return true; } -string CommandLineArgs::errorString(void) const +string CommandLineArgs::errorString() const { return errString; } @@ -247,7 +247,7 @@ bool CommandLineArgs::hasArg(const string &arg) const return passedArgs.find(tmp) != passedArgs.end(); } -string CommandLineArgs::usageString(void) const +string CommandLineArgs::usageString() const { string tmp = head; tmp += '\n'; @@ -286,7 +286,7 @@ string CommandLineArgs::usageString(void) const return tmp; } -int CommandLineArgs::argc(void) const +int CommandLineArgs::argc() const { return ac; } |