mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 04:20:13 +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:
+3
-3
@@ -16,13 +16,13 @@
|
||||
|
||||
#include "component-handler-bus-activation.h"
|
||||
|
||||
YaComponentHandlerBusActivation::ConstructArgs::ConstructArgs() {}
|
||||
YaComponentHandlerBusActivation::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaComponentHandlerBusActivation::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<
|
||||
Steinberg::Vst::IComponentHandlerBusActivation>(object)) {}
|
||||
|
||||
YaComponentHandlerBusActivation::YaComponentHandlerBusActivation(
|
||||
const ConstructArgs&& args)
|
||||
const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
Reference in New Issue
Block a user