diff options
author | David Robillard <d@drobilla.net> | 2022-08-18 01:18:34 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-18 01:18:34 -0400 |
commit | 9126ed67acf17bb2009430cb6de25b2ffd783d8e (patch) | |
tree | 235eb9e377333520e026f568f020889dd9bdc21d /include/ingen/Module.hpp | |
parent | 86a914ed7bf5316cad6dcac5f69cc3b300b40a23 (diff) | |
download | ingen-9126ed67acf17bb2009430cb6de25b2ffd783d8e.tar.gz ingen-9126ed67acf17bb2009430cb6de25b2ffd783d8e.tar.bz2 ingen-9126ed67acf17bb2009430cb6de25b2ffd783d8e.zip |
Make empty methods and trivial constructors noexcept
Diffstat (limited to 'include/ingen/Module.hpp')
-rw-r--r-- | include/ingen/Module.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ingen/Module.hpp b/include/ingen/Module.hpp index 149c25f9..8fe7b923 100644 --- a/include/ingen/Module.hpp +++ b/include/ingen/Module.hpp @@ -33,7 +33,8 @@ class World; */ class INGEN_API Module { public: - Module() : library(nullptr) {} + Module() noexcept : library(nullptr) {} + virtual ~Module() = default; Module(const Module&) = delete; |