From 05bce078b6b5cfc64f10399da3a422d00fe6f790 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 25 Dec 2017 16:25:46 -0500 Subject: Avoid static construction exception warning --- ingen/Atom.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ingen') 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. -- cgit v1.2.1