mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-10 12:49:08 -04:00
catch by ref
This commit is contained in:
parent
3e2753528f
commit
b1cb010ec6
@ -454,7 +454,7 @@ inline void CmdLine::parse(int argc, char** argv)
|
|||||||
if ( requiredCount > _numRequired )
|
if ( requiredCount > _numRequired )
|
||||||
throw(CmdLineParseException("Too many arguments!"));
|
throw(CmdLineParseException("Too many arguments!"));
|
||||||
|
|
||||||
} catch ( ArgException e ) { failure(e); }
|
} catch ( ArgException& e ) { failure(e); }
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool CmdLine::_emptyCombined(const std::string& s)
|
inline bool CmdLine::_emptyCombined(const std::string& s)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user