catch by ref

This commit is contained in:
mes5k 2004-10-22 01:02:32 +00:00
parent 3e2753528f
commit b1cb010ec6

View File

@ -454,7 +454,7 @@ inline void CmdLine::parse(int argc, char** argv)
if ( requiredCount > _numRequired )
throw(CmdLineParseException("Too many arguments!"));
} catch ( ArgException e ) { failure(e); }
} catch ( ArgException& e ) { failure(e); }
}
inline bool CmdLine::_emptyCombined(const std::string& s)