diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-08-05 23:27:30 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-08-05 23:27:30 +0900 |
commit | 509cd0aa505df0a93702608575b72f07a97c0139 (patch) | |
tree | cda134364734ce39751fd780a97c1f8b04ddd598 /src/tclap/MultiArg.h | |
parent | 430373ae38565e0d7f62b8fca0cbad73de73ec7f (diff) | |
download | universal-indent-gui-tqt-509cd0aa505df0a93702608575b72f07a97c0139.tar.gz universal-indent-gui-tqt-509cd0aa505df0a93702608575b72f07a97c0139.zip |
Formatted and fixed TCLAP headers
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tclap/MultiArg.h')
-rw-r--r-- | src/tclap/MultiArg.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/tclap/MultiArg.h b/src/tclap/MultiArg.h index 467edd4..31c39c0 100644 --- a/src/tclap/MultiArg.h +++ b/src/tclap/MultiArg.h @@ -219,8 +219,7 @@ namespace TCLAP template<class T> MultiArg<T>::MultiArg(const std::string &flag, const std::string &name, const std::string &desc, - bool req, const std::string &typeDesc, CmdLineInterface &parser, - Visitor *v) : + bool req, const std::string &typeDesc, CmdLineInterface &parser, Visitor *v) : Arg(flag, name, desc, req, true, v), _typeDesc(typeDesc), _constraint(NULL), _allowMore(false) { parser.add(this); @@ -277,8 +276,7 @@ namespace TCLAP { if (Arg::delimiter() != ' ' && value == "") { - throw (ArgParseException( - "Couldn't find delimiter for this argument!", toString())); + throw (ArgParseException("Couldn't find delimiter for this argument!", toString())); } // always take the first one, regardless of start string @@ -400,6 +398,6 @@ namespace TCLAP Arg::reset(); _values.clear(); } -} // namespace TCLAP +} #endif |