diff options
author | David Robillard <d@drobilla.net> | 2017-12-25 16:25:46 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-25 16:26:14 -0500 |
commit | 05bce078b6b5cfc64f10399da3a422d00fe6f790 (patch) | |
tree | 4ecea753041dcfde125d543e17a1435f3a59cbda | |
parent | 7d9819d811cf5752c5cf19b6908b8979c0e40aed (diff) | |
download | ingen-05bce078b6b5cfc64f10399da3a422d00fe6f790.tar.gz ingen-05bce078b6b5cfc64f10399da3a422d00fe6f790.tar.bz2 ingen-05bce078b6b5cfc64f10399da3a422d00fe6f790.zip |
Avoid static construction exception warning
-rw-r--r-- | ingen/Atom.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ingen/Atom.hpp b/ingen/Atom.hpp index b7b418e3..5e90903a 100644 --- a/ingen/Atom.hpp +++ b/ingen/Atom.hpp @@ -43,7 +43,7 @@ namespace Ingen { */ class INGEN_API Atom { public: - Atom() { _atom.size = 0; _atom.type = 0; _body.ptr = nullptr; } + Atom() noexcept { _atom.size = 0; _atom.type = 0; _body.ptr = nullptr; } ~Atom() { dealloc(); } /** Construct a raw atom. |