diff options
author | David Robillard <d@drobilla.net> | 2018-09-04 21:18:32 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-04 21:18:32 +0200 |
commit | 29cdf0d367f9965210b09f674f99e4dd4b3a7356 (patch) | |
tree | bd128a31652c54c62ff7cbb2275bd954d737c1d7 /ingen/Configuration.hpp | |
parent | cb0ecc8972902708117dd7024b99d603dfabe5ee (diff) | |
download | ingen-29cdf0d367f9965210b09f674f99e4dd4b3a7356.tar.gz ingen-29cdf0d367f9965210b09f674f99e4dd4b3a7356.tar.bz2 ingen-29cdf0d367f9965210b09f674f99e4dd4b3a7356.zip |
Remove dynamic exception specifications
Diffstat (limited to 'ingen/Configuration.hpp')
-rw-r--r-- | ingen/Configuration.hpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ingen/Configuration.hpp b/ingen/Configuration.hpp index 67104422..6759b4b0 100644 --- a/ingen/Configuration.hpp +++ b/ingen/Configuration.hpp @@ -79,7 +79,11 @@ public: explicit FileError(const std::string& m) : Exception(m) {} }; - void parse(int argc, char** argv) throw (OptionError); + /** Parse a command line. + * + * @throw OptionError + */ + void parse(int argc, char **argv); /** Load a specific file. */ bool load(const FilePath& path); @@ -102,7 +106,7 @@ public: FilePath save(URIMap& uri_map, const std::string& app, const FilePath& filename, - unsigned scopes) throw (FileError); + unsigned scopes); /** Load files from the standard configuration directories for the app. * @@ -140,8 +144,7 @@ private: std::string variable_string(LV2_URID type) const; int set_value_from_string(Configuration::Option& option, - const std::string& value) - throw (Configuration::OptionError); + const std::string& value); Forge& _forge; const std::string _shortdesc; |