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 | |
parent | cb0ecc8972902708117dd7024b99d603dfabe5ee (diff) | |
download | ingen-29cdf0d367f9965210b09f674f99e4dd4b3a7356.tar.gz ingen-29cdf0d367f9965210b09f674f99e4dd4b3a7356.tar.bz2 ingen-29cdf0d367f9965210b09f674f99e4dd4b3a7356.zip |
Remove dynamic exception specifications
Diffstat (limited to 'ingen')
-rw-r--r-- | ingen/Configuration.hpp | 11 | ||||
-rw-r--r-- | ingen/Serialiser.hpp | 16 |
2 files changed, 17 insertions, 10 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; diff --git a/ingen/Serialiser.hpp b/ingen/Serialiser.hpp index 50d4f693..fcfb40a7 100644 --- a/ingen/Serialiser.hpp +++ b/ingen/Serialiser.hpp @@ -71,14 +71,18 @@ public: virtual void start_to_file(const Raul::Path& root, const std::string& filename); - /** Serialize an object (graph, block, or port). */ - virtual void serialise(SPtr<const Node> object) - throw (std::logic_error); + /** Serialize an object (graph, block, or port). + * + * @throw std::logic_error + */ + virtual void serialise(SPtr<const Node> object); - /** Serialize an arc. */ + /** Serialize an arc. + * + * @throw std::logic_error + */ virtual void serialise_arc(const Sord::Node& parent, - SPtr<const Arc> arc) - throw (std::logic_error); + SPtr<const Arc> arc); /** Finish serialization. * |