mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-16 16:33:55 +02:00
Add noexcept qualifications in src/common
Apparently this can actually make a difference in some cases, and the C++ Core Guideliens recommend doing this on all default constructors, destructors, and all functions that can not throw (and thus also don't allocate).
This commit is contained in:
@@ -36,9 +36,9 @@ class YaAttributeList : public Steinberg::Vst::IAttributeList {
|
||||
* Default constructor with an empty attributeList. The plugin can use this
|
||||
* to write a attributeList.
|
||||
*/
|
||||
YaAttributeList();
|
||||
YaAttributeList() noexcept;
|
||||
|
||||
~YaAttributeList();
|
||||
~YaAttributeList() noexcept;
|
||||
|
||||
DECLARE_FUNKNOWN_METHODS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user