diff options
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 |