diff options
Diffstat (limited to 'idlc/source/options.cxx')
-rw-r--r-- | idlc/source/options.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/idlc/source/options.cxx b/idlc/source/options.cxx index 0d02236cac47..794f7929ad33 100644 --- a/idlc/source/options.cxx +++ b/idlc/source/options.cxx @@ -174,7 +174,7 @@ bool Options::checkCommandFile (std::vector< std::string > & rArgs, char const * return (fclose(fp) == 0); } -bool Options::badOption(char const * reason, std::string const & rArg) throw(IllegalArgument) +bool Options::badOption(char const * reason, std::string const & rArg) { OStringBuffer message; if (reason != nullptr) @@ -216,7 +216,7 @@ OString convertIncPathtoShortWindowsPath(const OString& incPath) { } #endif -bool Options::initOptions(std::vector< std::string > & rArgs) throw(IllegalArgument) +bool Options::initOptions(std::vector< std::string > & rArgs) { std::vector< std::string >::const_iterator first = rArgs.begin(), last = rArgs.end(); for (; first != last; ++first) @@ -427,7 +427,6 @@ bool Options::isValid(const OString& option) } const OString& Options::getOption(const OString& option) - throw( IllegalArgument ) { if (!isValid(option)) { |