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 /src | |
parent | cb0ecc8972902708117dd7024b99d603dfabe5ee (diff) | |
download | ingen-29cdf0d367f9965210b09f674f99e4dd4b3a7356.tar.gz ingen-29cdf0d367f9965210b09f674f99e4dd4b3a7356.tar.bz2 ingen-29cdf0d367f9965210b09f674f99e4dd4b3a7356.zip |
Remove dynamic exception specifications
Diffstat (limited to 'src')
-rw-r--r-- | src/Configuration.cpp | 4 | ||||
-rw-r--r-- | src/Serialiser.cpp | 7 |
2 files changed, 3 insertions, 8 deletions
diff --git a/src/Configuration.cpp b/src/Configuration.cpp index ec9cbf0f..c797cf93 100644 --- a/src/Configuration.cpp +++ b/src/Configuration.cpp @@ -133,7 +133,6 @@ Configuration::print_usage(const std::string& program, std::ostream& os) int Configuration::set_value_from_string(Configuration::Option& option, const std::string& value) - throw (Configuration::OptionError) { if (option.type == _forge.Int) { char* endptr = nullptr; @@ -160,7 +159,7 @@ Configuration::set_value_from_string(Configuration::Option& option, /** Parse command line arguments. */ void -Configuration::parse(int argc, char** argv) throw (Configuration::OptionError) +Configuration::parse(int argc, char** argv) { for (int i = 1; i < argc; ++i) { if (argv[i][0] != '-' || !strcmp(argv[i], "-")) { @@ -265,7 +264,6 @@ Configuration::save(URIMap& uri_map, const std::string& app, const FilePath& filename, unsigned scopes) - throw (FileError) { // Save to file if it is absolute, otherwise save to user config dir FilePath path = filename; diff --git a/src/Serialiser.cpp b/src/Serialiser.cpp index ffa4d7dc..034ff96b 100644 --- a/src/Serialiser.cpp +++ b/src/Serialiser.cpp @@ -87,8 +87,7 @@ struct Serialiser::Impl { const std::set<const Resource*> plugins); void serialise_arc(const Sord::Node& parent, - SPtr<const Arc> arc) - throw (std::logic_error); + SPtr<const Arc> arc); std::string finish(); @@ -278,7 +277,7 @@ Serialiser::Impl::path_rdf_node(const Raul::Path& path) } void -Serialiser::serialise(SPtr<const Node> object) throw (std::logic_error) +Serialiser::serialise(SPtr<const Node> object) { if (!me->_model) { throw std::logic_error("serialise called without serialisation in progress"); @@ -493,7 +492,6 @@ Serialiser::Impl::serialise_port(const Node* port, void Serialiser::serialise_arc(const Sord::Node& parent, SPtr<const Arc> arc) - throw (std::logic_error) { return me->serialise_arc(parent, arc); } @@ -501,7 +499,6 @@ Serialiser::serialise_arc(const Sord::Node& parent, void Serialiser::Impl::serialise_arc(const Sord::Node& parent, SPtr<const Arc> arc) - throw (std::logic_error) { if (!_model) { throw std::logic_error( |