Files
yabridge/src/common/serialization/vst3/component-handler/component-handler-bus-activation.cpp
T
Robbert van der Helm 59ba2aeb5f 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).
2021-05-14 17:12:24 +02:00

29 lines
1.2 KiB
C++

// yabridge: a Wine VST bridge
// Copyright (C) 2020-2021 Robbert van der Helm
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#include "component-handler-bus-activation.h"
YaComponentHandlerBusActivation::ConstructArgs::ConstructArgs() noexcept {}
YaComponentHandlerBusActivation::ConstructArgs::ConstructArgs(
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
: supported(Steinberg::FUnknownPtr<
Steinberg::Vst::IComponentHandlerBusActivation>(object)) {}
YaComponentHandlerBusActivation::YaComponentHandlerBusActivation(
const ConstructArgs&& args) noexcept
: arguments(std::move(args)) {}