summaryrefslogtreecommitdiffstats
path: root/src/extension
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-18 19:19:22 +0000
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-18 19:19:22 +0000
commit40dcc3c6b451b708058bf2f09eca0d15e46c1352 (patch)
tree2843b83d76bdf61a0f826b336eaab2e4941d7f13 /src/extension
parentRun clang-tidy’s modernize-use-bool-literals pass. (diff)
downloadinkscape-40dcc3c6b451b708058bf2f09eca0d15e46c1352.tar.gz
inkscape-40dcc3c6b451b708058bf2f09eca0d15e46c1352.zip
Run clang-tidy’s modernize-use-noexcept pass.
This removes deprecated dynamic exception specifications.
Diffstat (limited to 'src/extension')
-rw-r--r--src/extension/input.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/extension/input.h b/src/extension/input.h
index 426f77ccc..c433272ca 100644
--- a/src/extension/input.h
+++ b/src/extension/input.h
@@ -31,16 +31,16 @@ public: /* this is a hack for this release, this will be private shortly */
public:
struct open_failed : public std::exception {
- ~open_failed() throw() override = default;
- const char *what() const throw() override { return "Open failed"; }
+ ~open_failed() noexcept override = default;
+ const char *what() const noexcept override { return "Open failed"; }
};
struct no_extension_found : public std::exception {
- ~no_extension_found() throw() override = default;
- const char *what() const throw() override { return "No suitable input extension found"; }
+ ~no_extension_found() noexcept override = default;
+ const char *what() const noexcept override { return "No suitable input extension found"; }
};
struct open_cancelled : public std::exception {
- ~open_cancelled() throw() override = default;
- const char *what() const throw() override { return "Open was cancelled"; }
+ ~open_cancelled() noexcept override = default;
+ const char *what() const noexcept override { return "Open was cancelled"; }
};
Input (Inkscape::XML::Node * in_repr,