diff --git a/src/common/serialization/vst3/component-handler-proxy.cpp b/src/common/serialization/vst3/component-handler-proxy.cpp index 0d13c979..5ad662b9 100644 --- a/src/common/serialization/vst3/component-handler-proxy.cpp +++ b/src/common/serialization/vst3/component-handler-proxy.cpp @@ -31,7 +31,7 @@ Vst3ComponentHandlerProxy::ConstructArgs::ConstructArgs( unit_handler_2_args(object) {} Vst3ComponentHandlerProxy::Vst3ComponentHandlerProxy( - const ConstructArgs&& args) noexcept + ConstructArgs&& args) noexcept : YaComponentHandler(std::move(args.component_handler_args)), YaComponentHandler2(std::move(args.component_handler_2_args)), YaComponentHandler3(std::move(args.component_handler_3_args)), diff --git a/src/common/serialization/vst3/component-handler-proxy.h b/src/common/serialization/vst3/component-handler-proxy.h index e19c816d..bfb814cf 100644 --- a/src/common/serialization/vst3/component-handler-proxy.h +++ b/src/common/serialization/vst3/component-handler-proxy.h @@ -98,7 +98,7 @@ class Vst3ComponentHandlerProxy : public YaComponentHandler, * that of the objects they are passed to. If those objects get dropped, * then the host contexts should also be dropped. */ - Vst3ComponentHandlerProxy(const ConstructArgs&& args) noexcept; + Vst3ComponentHandlerProxy(ConstructArgs&& args) noexcept; /** * The lifetime of this object should be bound to the object we created it diff --git a/src/common/serialization/vst3/component-handler/component-handler-2.cpp b/src/common/serialization/vst3/component-handler/component-handler-2.cpp index dc904b72..6ad7f53f 100644 --- a/src/common/serialization/vst3/component-handler/component-handler-2.cpp +++ b/src/common/serialization/vst3/component-handler/component-handler-2.cpp @@ -23,5 +23,5 @@ YaComponentHandler2::ConstructArgs::ConstructArgs( : supported( Steinberg::FUnknownPtr(object)) {} -YaComponentHandler2::YaComponentHandler2(const ConstructArgs&& args) noexcept +YaComponentHandler2::YaComponentHandler2(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/component-handler/component-handler-2.h b/src/common/serialization/vst3/component-handler/component-handler-2.h index 712e8c96..c9f50768 100644 --- a/src/common/serialization/vst3/component-handler/component-handler-2.h +++ b/src/common/serialization/vst3/component-handler/component-handler-2.h @@ -57,7 +57,7 @@ class YaComponentHandler2 : public Steinberg::Vst::IComponentHandler2 { * Instantiate this instance with arguments read from another interface * implementation. */ - YaComponentHandler2(const ConstructArgs&& args) noexcept; + YaComponentHandler2(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/component-handler/component-handler-3.cpp b/src/common/serialization/vst3/component-handler/component-handler-3.cpp index fe4a527a..23681deb 100644 --- a/src/common/serialization/vst3/component-handler/component-handler-3.cpp +++ b/src/common/serialization/vst3/component-handler/component-handler-3.cpp @@ -23,5 +23,5 @@ YaComponentHandler3::ConstructArgs::ConstructArgs( : supported( Steinberg::FUnknownPtr(object)) {} -YaComponentHandler3::YaComponentHandler3(const ConstructArgs&& args) noexcept +YaComponentHandler3::YaComponentHandler3(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/component-handler/component-handler-3.h b/src/common/serialization/vst3/component-handler/component-handler-3.h index 5b832d75..95e06de4 100644 --- a/src/common/serialization/vst3/component-handler/component-handler-3.h +++ b/src/common/serialization/vst3/component-handler/component-handler-3.h @@ -59,7 +59,7 @@ class YaComponentHandler3 : public Steinberg::Vst::IComponentHandler3 { * Instantiate this instance with arguments read from another interface * implementation. */ - YaComponentHandler3(const ConstructArgs&& args) noexcept; + YaComponentHandler3(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/component-handler/component-handler-bus-activation.cpp b/src/common/serialization/vst3/component-handler/component-handler-bus-activation.cpp index 4217aefb..0958e4a1 100644 --- a/src/common/serialization/vst3/component-handler/component-handler-bus-activation.cpp +++ b/src/common/serialization/vst3/component-handler/component-handler-bus-activation.cpp @@ -24,5 +24,5 @@ YaComponentHandlerBusActivation::ConstructArgs::ConstructArgs( Steinberg::Vst::IComponentHandlerBusActivation>(object)) {} YaComponentHandlerBusActivation::YaComponentHandlerBusActivation( - const ConstructArgs&& args) noexcept + ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/component-handler/component-handler-bus-activation.h b/src/common/serialization/vst3/component-handler/component-handler-bus-activation.h index ec0cc275..a20d314b 100644 --- a/src/common/serialization/vst3/component-handler/component-handler-bus-activation.h +++ b/src/common/serialization/vst3/component-handler/component-handler-bus-activation.h @@ -60,7 +60,7 @@ class YaComponentHandlerBusActivation * Instantiate this instance with arguments read from another interface * implementation. */ - YaComponentHandlerBusActivation(const ConstructArgs&& args) noexcept; + YaComponentHandlerBusActivation(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/component-handler/component-handler.cpp b/src/common/serialization/vst3/component-handler/component-handler.cpp index 688e4662..20e694e4 100644 --- a/src/common/serialization/vst3/component-handler/component-handler.cpp +++ b/src/common/serialization/vst3/component-handler/component-handler.cpp @@ -23,5 +23,5 @@ YaComponentHandler::ConstructArgs::ConstructArgs( : supported( Steinberg::FUnknownPtr(object)) {} -YaComponentHandler::YaComponentHandler(const ConstructArgs&& args) noexcept +YaComponentHandler::YaComponentHandler(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/component-handler/component-handler.h b/src/common/serialization/vst3/component-handler/component-handler.h index 8dada4d9..bbc9ff27 100644 --- a/src/common/serialization/vst3/component-handler/component-handler.h +++ b/src/common/serialization/vst3/component-handler/component-handler.h @@ -57,7 +57,7 @@ class YaComponentHandler : public Steinberg::Vst::IComponentHandler { * Instantiate this instance with arguments read from another interface * implementation. */ - YaComponentHandler(const ConstructArgs&& args) noexcept; + YaComponentHandler(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/component-handler/progress.cpp b/src/common/serialization/vst3/component-handler/progress.cpp index 1e8f7e67..21656f37 100644 --- a/src/common/serialization/vst3/component-handler/progress.cpp +++ b/src/common/serialization/vst3/component-handler/progress.cpp @@ -22,5 +22,5 @@ YaProgress::ConstructArgs::ConstructArgs( Steinberg::IPtr object) noexcept : supported(Steinberg::FUnknownPtr(object)) {} -YaProgress::YaProgress(const ConstructArgs&& args) noexcept +YaProgress::YaProgress(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/component-handler/progress.h b/src/common/serialization/vst3/component-handler/progress.h index 1d9b031e..a2c39239 100644 --- a/src/common/serialization/vst3/component-handler/progress.h +++ b/src/common/serialization/vst3/component-handler/progress.h @@ -58,7 +58,7 @@ class YaProgress : public Steinberg::Vst::IProgress { * Instantiate this instance with arguments read from another interface * implementation. */ - YaProgress(const ConstructArgs&& args) noexcept; + YaProgress(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/component-handler/unit-handler-2.cpp b/src/common/serialization/vst3/component-handler/unit-handler-2.cpp index 8c9e48ff..87969c97 100644 --- a/src/common/serialization/vst3/component-handler/unit-handler-2.cpp +++ b/src/common/serialization/vst3/component-handler/unit-handler-2.cpp @@ -23,5 +23,5 @@ YaUnitHandler2::ConstructArgs::ConstructArgs( : supported(Steinberg::FUnknownPtr(object)) { } -YaUnitHandler2::YaUnitHandler2(const ConstructArgs&& args) noexcept +YaUnitHandler2::YaUnitHandler2(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/component-handler/unit-handler-2.h b/src/common/serialization/vst3/component-handler/unit-handler-2.h index 5c4850ba..1db20ccc 100644 --- a/src/common/serialization/vst3/component-handler/unit-handler-2.h +++ b/src/common/serialization/vst3/component-handler/unit-handler-2.h @@ -57,7 +57,7 @@ class YaUnitHandler2 : public Steinberg::Vst::IUnitHandler2 { * Instantiate this instance with arguments read from another interface * implementation. */ - YaUnitHandler2(const ConstructArgs&& args) noexcept; + YaUnitHandler2(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/component-handler/unit-handler.cpp b/src/common/serialization/vst3/component-handler/unit-handler.cpp index 363afd1f..57cfdfc2 100644 --- a/src/common/serialization/vst3/component-handler/unit-handler.cpp +++ b/src/common/serialization/vst3/component-handler/unit-handler.cpp @@ -22,5 +22,5 @@ YaUnitHandler::ConstructArgs::ConstructArgs( Steinberg::IPtr object) noexcept : supported(Steinberg::FUnknownPtr(object)) {} -YaUnitHandler::YaUnitHandler(const ConstructArgs&& args) noexcept +YaUnitHandler::YaUnitHandler(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/component-handler/unit-handler.h b/src/common/serialization/vst3/component-handler/unit-handler.h index c0a77328..5d30266d 100644 --- a/src/common/serialization/vst3/component-handler/unit-handler.h +++ b/src/common/serialization/vst3/component-handler/unit-handler.h @@ -57,7 +57,7 @@ class YaUnitHandler : public Steinberg::Vst::IUnitHandler { * Instantiate this instance with arguments read from another interface * implementation. */ - YaUnitHandler(const ConstructArgs&& args) noexcept; + YaUnitHandler(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/connection-point-proxy.cpp b/src/common/serialization/vst3/connection-point-proxy.cpp index 30b4ec9f..034f1112 100644 --- a/src/common/serialization/vst3/connection-point-proxy.cpp +++ b/src/common/serialization/vst3/connection-point-proxy.cpp @@ -17,7 +17,7 @@ #include "connection-point-proxy.h" Vst3ConnectionPointProxy::Vst3ConnectionPointProxy( - const ConstructArgs&& args) noexcept + ConstructArgs&& args) noexcept : YaConnectionPoint(std::move(args.connection_point_args)), arguments(std::move(args)){FUNKNOWN_CTOR} diff --git a/src/common/serialization/vst3/connection-point-proxy.h b/src/common/serialization/vst3/connection-point-proxy.h index cf1b29b7..6896d71b 100644 --- a/src/common/serialization/vst3/connection-point-proxy.h +++ b/src/common/serialization/vst3/connection-point-proxy.h @@ -50,7 +50,7 @@ class Vst3ConnectionPointProxy : public YaConnectionPoint { * @note This object will be created as part of handling * `IConnectionPoint::connect()` if the connection is indirect. */ - Vst3ConnectionPointProxy(const ConstructArgs&& args) noexcept; + Vst3ConnectionPointProxy(ConstructArgs&& args) noexcept; /** * This object will be destroyed again during diff --git a/src/common/serialization/vst3/context-menu-proxy.cpp b/src/common/serialization/vst3/context-menu-proxy.cpp index 4d52d413..f565a8a1 100644 --- a/src/common/serialization/vst3/context-menu-proxy.cpp +++ b/src/common/serialization/vst3/context-menu-proxy.cpp @@ -26,7 +26,7 @@ Vst3ContextMenuProxy::ConstructArgs::ConstructArgs( context_menu_id(context_menu_id), context_menu_args(object) {} -Vst3ContextMenuProxy::Vst3ContextMenuProxy(const ConstructArgs&& args) noexcept +Vst3ContextMenuProxy::Vst3ContextMenuProxy(ConstructArgs&& args) noexcept : YaContextMenu(std::move(args.context_menu_args)), arguments(std::move(args)){FUNKNOWN_CTOR} diff --git a/src/common/serialization/vst3/context-menu-proxy.h b/src/common/serialization/vst3/context-menu-proxy.h index 3f63eb6d..bd464687 100644 --- a/src/common/serialization/vst3/context-menu-proxy.h +++ b/src/common/serialization/vst3/context-menu-proxy.h @@ -90,7 +90,7 @@ class Vst3ContextMenuProxy : public YaContextMenu { * struct. We need to use raw pointers or references here so we can refer * to the object without interfering with the reference count. */ - Vst3ContextMenuProxy(const ConstructArgs&& args) noexcept; + Vst3ContextMenuProxy(ConstructArgs&& args) noexcept; /** * Message to request the plugin to drop the the `IContextMenu*` returned by diff --git a/src/common/serialization/vst3/context-menu-target.cpp b/src/common/serialization/vst3/context-menu-target.cpp index a6186405..057e95ac 100644 --- a/src/common/serialization/vst3/context-menu-target.cpp +++ b/src/common/serialization/vst3/context-menu-target.cpp @@ -26,7 +26,7 @@ YaContextMenuTarget::ConstructArgs::ConstructArgs( context_menu_id(context_menu_id), tag(tag) {} -YaContextMenuTarget::YaContextMenuTarget(const ConstructArgs&& args) noexcept +YaContextMenuTarget::YaContextMenuTarget(ConstructArgs&& args) noexcept : arguments(std::move(args)){FUNKNOWN_CTOR} YaContextMenuTarget::~YaContextMenuTarget() noexcept { diff --git a/src/common/serialization/vst3/context-menu-target.h b/src/common/serialization/vst3/context-menu-target.h index fffb3eff..3de7841b 100644 --- a/src/common/serialization/vst3/context-menu-target.h +++ b/src/common/serialization/vst3/context-menu-target.h @@ -69,7 +69,7 @@ class YaContextMenuTarget : public Steinberg::Vst::IContextMenuTarget { * Create context menu target that when called, calls the corresponding * context menu target provided by the object. */ - YaContextMenuTarget(const ConstructArgs&& args) noexcept; + YaContextMenuTarget(ConstructArgs&& args) noexcept; ~YaContextMenuTarget() noexcept; diff --git a/src/common/serialization/vst3/context-menu/context-menu.cpp b/src/common/serialization/vst3/context-menu/context-menu.cpp index 1601ad90..5aa3c7fd 100644 --- a/src/common/serialization/vst3/context-menu/context-menu.cpp +++ b/src/common/serialization/vst3/context-menu/context-menu.cpp @@ -22,5 +22,5 @@ YaContextMenu::ConstructArgs::ConstructArgs( Steinberg::IPtr object) noexcept : supported(Steinberg::FUnknownPtr(object)) {} -YaContextMenu::YaContextMenu(const ConstructArgs&& args) noexcept +YaContextMenu::YaContextMenu(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/context-menu/context-menu.h b/src/common/serialization/vst3/context-menu/context-menu.h index 08e3b202..2cf437c5 100644 --- a/src/common/serialization/vst3/context-menu/context-menu.h +++ b/src/common/serialization/vst3/context-menu/context-menu.h @@ -59,7 +59,7 @@ class YaContextMenu : public Steinberg::Vst::IContextMenu { * Instantiate this instance with arguments read from another interface * implementation. */ - YaContextMenu(const ConstructArgs&& args) noexcept; + YaContextMenu(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/host-context-proxy.cpp b/src/common/serialization/vst3/host-context-proxy.cpp index b9fbdb36..338eedb1 100644 --- a/src/common/serialization/vst3/host-context-proxy.cpp +++ b/src/common/serialization/vst3/host-context-proxy.cpp @@ -25,7 +25,7 @@ Vst3HostContextProxy::ConstructArgs::ConstructArgs( host_application_args(object), plug_interface_support_args(object) {} -Vst3HostContextProxy::Vst3HostContextProxy(const ConstructArgs&& args) noexcept +Vst3HostContextProxy::Vst3HostContextProxy(ConstructArgs&& args) noexcept : YaHostApplication(std::move(args.host_application_args)), YaPlugInterfaceSupport(std::move(args.plug_interface_support_args)), arguments(std::move(args)){FUNKNOWN_CTOR} diff --git a/src/common/serialization/vst3/host-context-proxy.h b/src/common/serialization/vst3/host-context-proxy.h index 99b52f08..916ea46e 100644 --- a/src/common/serialization/vst3/host-context-proxy.h +++ b/src/common/serialization/vst3/host-context-proxy.h @@ -81,7 +81,7 @@ class Vst3HostContextProxy : public YaHostApplication, * objects they are passed to. If those objects get dropped, then the host * contexts should also be dropped. */ - Vst3HostContextProxy(const ConstructArgs&& args) noexcept; + Vst3HostContextProxy(ConstructArgs&& args) noexcept; /** * The lifetime of this object should be bound to the object we created it diff --git a/src/common/serialization/vst3/host-context/host-application.cpp b/src/common/serialization/vst3/host-context/host-application.cpp index 4cd723cb..c02f01fa 100644 --- a/src/common/serialization/vst3/host-context/host-application.cpp +++ b/src/common/serialization/vst3/host-context/host-application.cpp @@ -23,5 +23,5 @@ YaHostApplication::ConstructArgs::ConstructArgs( : supported( Steinberg::FUnknownPtr(object)) {} -YaHostApplication::YaHostApplication(const ConstructArgs&& args) noexcept +YaHostApplication::YaHostApplication(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/host-context/host-application.h b/src/common/serialization/vst3/host-context/host-application.h index f79a470a..f368a888 100644 --- a/src/common/serialization/vst3/host-context/host-application.h +++ b/src/common/serialization/vst3/host-context/host-application.h @@ -61,7 +61,7 @@ class YaHostApplication : public Steinberg::Vst::IHostApplication { * Instantiate this instance with arguments read from another interface * implementation. */ - YaHostApplication(const ConstructArgs&& args) noexcept; + YaHostApplication(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/host-context/plug-interface-support.cpp b/src/common/serialization/vst3/host-context/plug-interface-support.cpp index 851e86a6..5f5dfdf8 100644 --- a/src/common/serialization/vst3/host-context/plug-interface-support.cpp +++ b/src/common/serialization/vst3/host-context/plug-interface-support.cpp @@ -24,5 +24,5 @@ YaPlugInterfaceSupport::ConstructArgs::ConstructArgs( object)) {} YaPlugInterfaceSupport::YaPlugInterfaceSupport( - const ConstructArgs&& args) noexcept + ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/host-context/plug-interface-support.h b/src/common/serialization/vst3/host-context/plug-interface-support.h index d51907bd..237cc8d4 100644 --- a/src/common/serialization/vst3/host-context/plug-interface-support.h +++ b/src/common/serialization/vst3/host-context/plug-interface-support.h @@ -58,7 +58,7 @@ class YaPlugInterfaceSupport : public Steinberg::Vst::IPlugInterfaceSupport { * Instantiate this instance with arguments read from another interface * implementation. */ - YaPlugInterfaceSupport(const ConstructArgs&& args) noexcept; + YaPlugInterfaceSupport(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plug-frame-proxy.cpp b/src/common/serialization/vst3/plug-frame-proxy.cpp index 59e85063..b80cd647 100644 --- a/src/common/serialization/vst3/plug-frame-proxy.cpp +++ b/src/common/serialization/vst3/plug-frame-proxy.cpp @@ -23,7 +23,7 @@ Vst3PlugFrameProxy::ConstructArgs::ConstructArgs( size_t owner_instance_id) noexcept : owner_instance_id(owner_instance_id), plug_frame_args(object) {} -Vst3PlugFrameProxy::Vst3PlugFrameProxy(const ConstructArgs&& args) noexcept +Vst3PlugFrameProxy::Vst3PlugFrameProxy(ConstructArgs&& args) noexcept : YaPlugFrame(std::move(args.plug_frame_args)), arguments(std::move(args)){FUNKNOWN_CTOR} diff --git a/src/common/serialization/vst3/plug-frame-proxy.h b/src/common/serialization/vst3/plug-frame-proxy.h index 2be1390b..b8bfdd51 100644 --- a/src/common/serialization/vst3/plug-frame-proxy.h +++ b/src/common/serialization/vst3/plug-frame-proxy.h @@ -71,7 +71,7 @@ class Vst3PlugFrameProxy : public YaPlugFrame { * lifetime is bound to that of the objects they are passed to. If the * plug view instance gets dropped, this proxy should also be dropped. */ - Vst3PlugFrameProxy(const ConstructArgs&& args) noexcept; + Vst3PlugFrameProxy(ConstructArgs&& args) noexcept; /** * The lifetime of this object should be bound to the object we created it diff --git a/src/common/serialization/vst3/plug-frame/plug-frame.cpp b/src/common/serialization/vst3/plug-frame/plug-frame.cpp index 95a7d830..230484fd 100644 --- a/src/common/serialization/vst3/plug-frame/plug-frame.cpp +++ b/src/common/serialization/vst3/plug-frame/plug-frame.cpp @@ -22,5 +22,5 @@ YaPlugFrame::ConstructArgs::ConstructArgs( Steinberg::IPtr object) noexcept : supported(Steinberg::FUnknownPtr(object)) {} -YaPlugFrame::YaPlugFrame(const ConstructArgs&& args) noexcept +YaPlugFrame::YaPlugFrame(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plug-frame/plug-frame.h b/src/common/serialization/vst3/plug-frame/plug-frame.h index 64609dff..66b20b96 100644 --- a/src/common/serialization/vst3/plug-frame/plug-frame.h +++ b/src/common/serialization/vst3/plug-frame/plug-frame.h @@ -57,7 +57,7 @@ class YaPlugFrame : public Steinberg::IPlugFrame { * Instantiate this instance with arguments read from another interface * implementation. */ - YaPlugFrame(const ConstructArgs&& args) noexcept; + YaPlugFrame(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plug-view-proxy.cpp b/src/common/serialization/vst3/plug-view-proxy.cpp index 75ef9fef..bf457e7f 100644 --- a/src/common/serialization/vst3/plug-view-proxy.cpp +++ b/src/common/serialization/vst3/plug-view-proxy.cpp @@ -26,7 +26,7 @@ Vst3PlugViewProxy::ConstructArgs::ConstructArgs( parameter_finder_args(object), plug_view_content_scale_support_args(object) {} -Vst3PlugViewProxy::Vst3PlugViewProxy(const ConstructArgs&& args) noexcept +Vst3PlugViewProxy::Vst3PlugViewProxy(ConstructArgs&& args) noexcept : YaPlugView(std::move(args.plug_view_args)), YaParameterFinder(std::move(args.parameter_finder_args)), YaPlugViewContentScaleSupport( diff --git a/src/common/serialization/vst3/plug-view-proxy.h b/src/common/serialization/vst3/plug-view-proxy.h index 3ceeddf8..fd10a1cc 100644 --- a/src/common/serialization/vst3/plug-view-proxy.h +++ b/src/common/serialization/vst3/plug-view-proxy.h @@ -80,7 +80,7 @@ class Vst3PlugViewProxy : public YaPlugView, * message. The destructor should still send a message to drop the * original smart pointer. */ - Vst3PlugViewProxy(const ConstructArgs&& args) noexcept; + Vst3PlugViewProxy(ConstructArgs&& args) noexcept; /** * Message to request the Wine plugin host to destroy the `IPlugView*` diff --git a/src/common/serialization/vst3/plug-view/parameter-finder.cpp b/src/common/serialization/vst3/plug-view/parameter-finder.cpp index 78822586..03823c71 100644 --- a/src/common/serialization/vst3/plug-view/parameter-finder.cpp +++ b/src/common/serialization/vst3/plug-view/parameter-finder.cpp @@ -23,5 +23,5 @@ YaParameterFinder::ConstructArgs::ConstructArgs( : supported( Steinberg::FUnknownPtr(object)) {} -YaParameterFinder::YaParameterFinder(const ConstructArgs&& args) noexcept +YaParameterFinder::YaParameterFinder(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plug-view/parameter-finder.h b/src/common/serialization/vst3/plug-view/parameter-finder.h index 881e0ad0..b4b4cecf 100644 --- a/src/common/serialization/vst3/plug-view/parameter-finder.h +++ b/src/common/serialization/vst3/plug-view/parameter-finder.h @@ -57,7 +57,7 @@ class YaParameterFinder : public Steinberg::Vst::IParameterFinder { * Instantiate this instance with arguments read from another interface * implementation. */ - YaParameterFinder(const ConstructArgs&& args) noexcept; + YaParameterFinder(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plug-view/plug-view-content-scale-support.cpp b/src/common/serialization/vst3/plug-view/plug-view-content-scale-support.cpp index 7ff35dd2..d387d90f 100644 --- a/src/common/serialization/vst3/plug-view/plug-view-content-scale-support.cpp +++ b/src/common/serialization/vst3/plug-view/plug-view-content-scale-support.cpp @@ -24,5 +24,5 @@ YaPlugViewContentScaleSupport::ConstructArgs::ConstructArgs( object)) {} YaPlugViewContentScaleSupport::YaPlugViewContentScaleSupport( - const ConstructArgs&& args) noexcept + ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plug-view/plug-view-content-scale-support.h b/src/common/serialization/vst3/plug-view/plug-view-content-scale-support.h index 26a57f60..e36650d2 100644 --- a/src/common/serialization/vst3/plug-view/plug-view-content-scale-support.h +++ b/src/common/serialization/vst3/plug-view/plug-view-content-scale-support.h @@ -58,7 +58,7 @@ class YaPlugViewContentScaleSupport * Instantiate this instance with arguments read from another interface * implementation. */ - YaPlugViewContentScaleSupport(const ConstructArgs&& args) noexcept; + YaPlugViewContentScaleSupport(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plug-view/plug-view.cpp b/src/common/serialization/vst3/plug-view/plug-view.cpp index 208e5e32..1c200fbb 100644 --- a/src/common/serialization/vst3/plug-view/plug-view.cpp +++ b/src/common/serialization/vst3/plug-view/plug-view.cpp @@ -22,5 +22,5 @@ YaPlugView::ConstructArgs::ConstructArgs( Steinberg::IPtr object) noexcept : supported(Steinberg::FUnknownPtr(object)) {} -YaPlugView::YaPlugView(const ConstructArgs&& args) noexcept +YaPlugView::YaPlugView(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plug-view/plug-view.h b/src/common/serialization/vst3/plug-view/plug-view.h index 4ccc1918..d9ec0344 100644 --- a/src/common/serialization/vst3/plug-view/plug-view.h +++ b/src/common/serialization/vst3/plug-view/plug-view.h @@ -59,7 +59,7 @@ class YaPlugView : public Steinberg::IPlugView { * Instantiate this instance with arguments read from another interface * implementation. */ - YaPlugView(const ConstructArgs&& args) noexcept; + YaPlugView(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin-factory-proxy.cpp b/src/common/serialization/vst3/plugin-factory-proxy.cpp index 384a60dd..4098b2f2 100644 --- a/src/common/serialization/vst3/plugin-factory-proxy.cpp +++ b/src/common/serialization/vst3/plugin-factory-proxy.cpp @@ -22,8 +22,7 @@ Vst3PluginFactoryProxy::ConstructArgs::ConstructArgs( Steinberg::IPtr object) noexcept : plugin_factory_args(object) {} -Vst3PluginFactoryProxy::Vst3PluginFactoryProxy( - const ConstructArgs&& args) noexcept +Vst3PluginFactoryProxy::Vst3PluginFactoryProxy(ConstructArgs&& args) noexcept : YaPluginFactory3(std::move(args.plugin_factory_args)), arguments(std::move(args)){FUNKNOWN_CTOR} diff --git a/src/common/serialization/vst3/plugin-factory-proxy.h b/src/common/serialization/vst3/plugin-factory-proxy.h index 4a8b9c6c..c317072f 100644 --- a/src/common/serialization/vst3/plugin-factory-proxy.h +++ b/src/common/serialization/vst3/plugin-factory-proxy.h @@ -68,7 +68,7 @@ class Vst3PluginFactoryProxy : public YaPluginFactory3 { * factory. The is done once during startup and the plugin factory gets * reused for the lifetime of the module. */ - Vst3PluginFactoryProxy(const ConstructArgs&& args) noexcept; + Vst3PluginFactoryProxy(ConstructArgs&& args) noexcept; /** * We do not need special handling here since the Window VST3 plugin's diff --git a/src/common/serialization/vst3/plugin-factory/plugin-factory.cpp b/src/common/serialization/vst3/plugin-factory/plugin-factory.cpp index 94a97ea9..22a3992e 100644 --- a/src/common/serialization/vst3/plugin-factory/plugin-factory.cpp +++ b/src/common/serialization/vst3/plugin-factory/plugin-factory.cpp @@ -99,7 +99,7 @@ YaPluginFactory3::ConstructArgs::ConstructArgs( } } -YaPluginFactory3::YaPluginFactory3(const ConstructArgs&& args) noexcept +YaPluginFactory3::YaPluginFactory3(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} tresult PLUGIN_API diff --git a/src/common/serialization/vst3/plugin-factory/plugin-factory.h b/src/common/serialization/vst3/plugin-factory/plugin-factory.h index 2fc8af55..84e935b9 100644 --- a/src/common/serialization/vst3/plugin-factory/plugin-factory.h +++ b/src/common/serialization/vst3/plugin-factory/plugin-factory.h @@ -122,7 +122,7 @@ class YaPluginFactory3 : public Steinberg::IPluginFactory3 { * Instantiate this instance with arguments read from the Windows VST3 * plugin's plugin factory. */ - YaPluginFactory3(const ConstructArgs&& args) noexcept; + YaPluginFactory3(ConstructArgs&& args) noexcept; inline bool supports_plugin_factory() const noexcept { return arguments.supports_plugin_factory; diff --git a/src/common/serialization/vst3/plugin-proxy.cpp b/src/common/serialization/vst3/plugin-proxy.cpp index ce200931..6bb53a78 100644 --- a/src/common/serialization/vst3/plugin-proxy.cpp +++ b/src/common/serialization/vst3/plugin-proxy.cpp @@ -44,7 +44,7 @@ Vst3PluginProxy::ConstructArgs::ConstructArgs( unit_info_args(object), xml_representation_controller_args(object) {} -Vst3PluginProxy::Vst3PluginProxy(const ConstructArgs&& args) noexcept +Vst3PluginProxy::Vst3PluginProxy(ConstructArgs&& args) noexcept : YaAudioPresentationLatency( std::move(args.audio_presentation_latency_args)), YaAudioProcessor(std::move(args.audio_processor_args)), diff --git a/src/common/serialization/vst3/plugin-proxy.h b/src/common/serialization/vst3/plugin-proxy.h index 653e1369..ed71b909 100644 --- a/src/common/serialization/vst3/plugin-proxy.h +++ b/src/common/serialization/vst3/plugin-proxy.h @@ -199,7 +199,7 @@ class Vst3PluginProxy : public YaAudioPresentationLatency, * Instantiate this object instance with arguments read from another * interface implementation. */ - Vst3PluginProxy(const ConstructArgs&& args) noexcept; + Vst3PluginProxy(ConstructArgs&& args) noexcept; /** * Message to request the Wine plugin host to destroy this object instance diff --git a/src/common/serialization/vst3/plugin/audio-presentation-latency.cpp b/src/common/serialization/vst3/plugin/audio-presentation-latency.cpp index 3b38424e..6c021e24 100644 --- a/src/common/serialization/vst3/plugin/audio-presentation-latency.cpp +++ b/src/common/serialization/vst3/plugin/audio-presentation-latency.cpp @@ -25,5 +25,5 @@ YaAudioPresentationLatency::ConstructArgs::ConstructArgs( object)) {} YaAudioPresentationLatency::YaAudioPresentationLatency( - const ConstructArgs&& args) noexcept + ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/audio-presentation-latency.h b/src/common/serialization/vst3/plugin/audio-presentation-latency.h index 251430a8..2f68f648 100644 --- a/src/common/serialization/vst3/plugin/audio-presentation-latency.h +++ b/src/common/serialization/vst3/plugin/audio-presentation-latency.h @@ -58,7 +58,7 @@ class YaAudioPresentationLatency * Instantiate this instance with arguments read from another interface * implementation. */ - YaAudioPresentationLatency(const ConstructArgs&& args) noexcept; + YaAudioPresentationLatency(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/audio-processor.cpp b/src/common/serialization/vst3/plugin/audio-processor.cpp index 50a7b686..da20bbbc 100644 --- a/src/common/serialization/vst3/plugin/audio-processor.cpp +++ b/src/common/serialization/vst3/plugin/audio-processor.cpp @@ -23,5 +23,5 @@ YaAudioProcessor::ConstructArgs::ConstructArgs( : supported( Steinberg::FUnknownPtr(object)) {} -YaAudioProcessor::YaAudioProcessor(const ConstructArgs&& args) noexcept +YaAudioProcessor::YaAudioProcessor(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/audio-processor.h b/src/common/serialization/vst3/plugin/audio-processor.h index 6ee9d3d0..e7b53c32 100644 --- a/src/common/serialization/vst3/plugin/audio-processor.h +++ b/src/common/serialization/vst3/plugin/audio-processor.h @@ -60,7 +60,7 @@ class YaAudioProcessor : public Steinberg::Vst::IAudioProcessor { * Instantiate this instance with arguments read from another interface * implementation. */ - YaAudioProcessor(const ConstructArgs&& args) noexcept; + YaAudioProcessor(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/automation-state.cpp b/src/common/serialization/vst3/plugin/automation-state.cpp index 6bd9cc83..2ab12b4f 100644 --- a/src/common/serialization/vst3/plugin/automation-state.cpp +++ b/src/common/serialization/vst3/plugin/automation-state.cpp @@ -23,5 +23,5 @@ YaAutomationState::ConstructArgs::ConstructArgs( : supported( Steinberg::FUnknownPtr(object)) {} -YaAutomationState::YaAutomationState(const ConstructArgs&& args) noexcept +YaAutomationState::YaAutomationState(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/automation-state.h b/src/common/serialization/vst3/plugin/automation-state.h index c42b99b3..e569df38 100644 --- a/src/common/serialization/vst3/plugin/automation-state.h +++ b/src/common/serialization/vst3/plugin/automation-state.h @@ -60,7 +60,7 @@ class YaAutomationState : public Steinberg::Vst::IAutomationState { * Instantiate this instance with arguments read from another interface * implementation. */ - YaAutomationState(const ConstructArgs&& args) noexcept; + YaAutomationState(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/component.cpp b/src/common/serialization/vst3/plugin/component.cpp index 00379d50..1bc28f9c 100644 --- a/src/common/serialization/vst3/plugin/component.cpp +++ b/src/common/serialization/vst3/plugin/component.cpp @@ -22,5 +22,5 @@ YaComponent::ConstructArgs::ConstructArgs( Steinberg::IPtr object) noexcept : supported(Steinberg::FUnknownPtr(object)) {} -YaComponent::YaComponent(const ConstructArgs&& args) noexcept +YaComponent::YaComponent(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/component.h b/src/common/serialization/vst3/plugin/component.h index 5633dfa2..fb51ff7f 100644 --- a/src/common/serialization/vst3/plugin/component.h +++ b/src/common/serialization/vst3/plugin/component.h @@ -60,7 +60,7 @@ class YaComponent : public Steinberg::Vst::IComponent { * Instantiate this instance with arguments read from another interface * implementation. */ - YaComponent(const ConstructArgs&& args) noexcept; + YaComponent(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/connection-point.cpp b/src/common/serialization/vst3/plugin/connection-point.cpp index 31be3247..57521767 100644 --- a/src/common/serialization/vst3/plugin/connection-point.cpp +++ b/src/common/serialization/vst3/plugin/connection-point.cpp @@ -32,5 +32,5 @@ YaConnectionPoint::Vst3ConnectionPointProxyConstructArgs:: size_t owner_instance_id) noexcept : owner_instance_id(owner_instance_id), connection_point_args(object) {} -YaConnectionPoint::YaConnectionPoint(const ConstructArgs&& args) noexcept +YaConnectionPoint::YaConnectionPoint(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/connection-point.h b/src/common/serialization/vst3/plugin/connection-point.h index 26197a56..d1181482 100644 --- a/src/common/serialization/vst3/plugin/connection-point.h +++ b/src/common/serialization/vst3/plugin/connection-point.h @@ -105,7 +105,7 @@ class YaConnectionPoint : public Steinberg::Vst::IConnectionPoint { * Instantiate this instance with arguments read from another interface * implementation. */ - YaConnectionPoint(const ConstructArgs&& args) noexcept; + YaConnectionPoint(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/edit-controller-2.cpp b/src/common/serialization/vst3/plugin/edit-controller-2.cpp index 9f8bbe90..598c9401 100644 --- a/src/common/serialization/vst3/plugin/edit-controller-2.cpp +++ b/src/common/serialization/vst3/plugin/edit-controller-2.cpp @@ -23,5 +23,5 @@ YaEditController2::ConstructArgs::ConstructArgs( : supported( Steinberg::FUnknownPtr(object)) {} -YaEditController2::YaEditController2(const ConstructArgs&& args) noexcept +YaEditController2::YaEditController2(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/edit-controller-2.h b/src/common/serialization/vst3/plugin/edit-controller-2.h index 24b615c6..40f8f5b1 100644 --- a/src/common/serialization/vst3/plugin/edit-controller-2.h +++ b/src/common/serialization/vst3/plugin/edit-controller-2.h @@ -57,7 +57,7 @@ class YaEditController2 : public Steinberg::Vst::IEditController2 { * Instantiate this instance with arguments read from another interface * implementation. */ - YaEditController2(const ConstructArgs&& args) noexcept; + YaEditController2(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/edit-controller-host-editing.cpp b/src/common/serialization/vst3/plugin/edit-controller-host-editing.cpp index 89869518..f6e9b2b9 100644 --- a/src/common/serialization/vst3/plugin/edit-controller-host-editing.cpp +++ b/src/common/serialization/vst3/plugin/edit-controller-host-editing.cpp @@ -25,5 +25,5 @@ YaEditControllerHostEditing::ConstructArgs::ConstructArgs( object)) {} YaEditControllerHostEditing::YaEditControllerHostEditing( - const ConstructArgs&& args) noexcept + ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/edit-controller-host-editing.h b/src/common/serialization/vst3/plugin/edit-controller-host-editing.h index 4c9defaf..9c192e99 100644 --- a/src/common/serialization/vst3/plugin/edit-controller-host-editing.h +++ b/src/common/serialization/vst3/plugin/edit-controller-host-editing.h @@ -58,7 +58,7 @@ class YaEditControllerHostEditing * Instantiate this instance with arguments read from another interface * implementation. */ - YaEditControllerHostEditing(const ConstructArgs&& args) noexcept; + YaEditControllerHostEditing(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/edit-controller.cpp b/src/common/serialization/vst3/plugin/edit-controller.cpp index bf42f606..232e1340 100644 --- a/src/common/serialization/vst3/plugin/edit-controller.cpp +++ b/src/common/serialization/vst3/plugin/edit-controller.cpp @@ -23,5 +23,5 @@ YaEditController::ConstructArgs::ConstructArgs( : supported( Steinberg::FUnknownPtr(object)) {} -YaEditController::YaEditController(const ConstructArgs&& args) noexcept +YaEditController::YaEditController(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/edit-controller.h b/src/common/serialization/vst3/plugin/edit-controller.h index a0f0ff8f..d202f2d1 100644 --- a/src/common/serialization/vst3/plugin/edit-controller.h +++ b/src/common/serialization/vst3/plugin/edit-controller.h @@ -61,7 +61,7 @@ class YaEditController : public Steinberg::Vst::IEditController { * Instantiate this instance with arguments read from another interface * implementation. */ - YaEditController(const ConstructArgs&& args) noexcept; + YaEditController(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/info-listener.cpp b/src/common/serialization/vst3/plugin/info-listener.cpp index 4edcb2bd..cd00b648 100644 --- a/src/common/serialization/vst3/plugin/info-listener.cpp +++ b/src/common/serialization/vst3/plugin/info-listener.cpp @@ -24,5 +24,5 @@ YaInfoListener::ConstructArgs::ConstructArgs( Steinberg::FUnknownPtr( object)) {} -YaInfoListener::YaInfoListener(const ConstructArgs&& args) noexcept +YaInfoListener::YaInfoListener(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/info-listener.h b/src/common/serialization/vst3/plugin/info-listener.h index 66daba8a..3fa470bd 100644 --- a/src/common/serialization/vst3/plugin/info-listener.h +++ b/src/common/serialization/vst3/plugin/info-listener.h @@ -58,7 +58,7 @@ class YaInfoListener : public Steinberg::Vst::ChannelContext::IInfoListener { * Instantiate this instance with arguments read from another interface * implementation. */ - YaInfoListener(const ConstructArgs&& args) noexcept; + YaInfoListener(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/keyswitch-controller.cpp b/src/common/serialization/vst3/plugin/keyswitch-controller.cpp index 367c2e9b..a48a2d4b 100644 --- a/src/common/serialization/vst3/plugin/keyswitch-controller.cpp +++ b/src/common/serialization/vst3/plugin/keyswitch-controller.cpp @@ -24,5 +24,5 @@ YaKeyswitchController::ConstructArgs::ConstructArgs( object)) {} YaKeyswitchController::YaKeyswitchController( - const ConstructArgs&& args) noexcept + ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/keyswitch-controller.h b/src/common/serialization/vst3/plugin/keyswitch-controller.h index 8dc54090..bad22728 100644 --- a/src/common/serialization/vst3/plugin/keyswitch-controller.h +++ b/src/common/serialization/vst3/plugin/keyswitch-controller.h @@ -57,7 +57,7 @@ class YaKeyswitchController : public Steinberg::Vst::IKeyswitchController { * Instantiate this instance with arguments read from another interface * implementation. */ - YaKeyswitchController(const ConstructArgs&& args) noexcept; + YaKeyswitchController(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/midi-learn.cpp b/src/common/serialization/vst3/plugin/midi-learn.cpp index d9be78e6..f480a103 100644 --- a/src/common/serialization/vst3/plugin/midi-learn.cpp +++ b/src/common/serialization/vst3/plugin/midi-learn.cpp @@ -22,5 +22,5 @@ YaMidiLearn::ConstructArgs::ConstructArgs( Steinberg::IPtr object) noexcept : supported(Steinberg::FUnknownPtr(object)) {} -YaMidiLearn::YaMidiLearn(const ConstructArgs&& args) noexcept +YaMidiLearn::YaMidiLearn(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/midi-learn.h b/src/common/serialization/vst3/plugin/midi-learn.h index f70e9823..44b26641 100644 --- a/src/common/serialization/vst3/plugin/midi-learn.h +++ b/src/common/serialization/vst3/plugin/midi-learn.h @@ -57,7 +57,7 @@ class YaMidiLearn : public Steinberg::Vst::IMidiLearn { * Instantiate this instance with arguments read from another interface * implementation. */ - YaMidiLearn(const ConstructArgs&& args) noexcept; + YaMidiLearn(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/midi-mapping.cpp b/src/common/serialization/vst3/plugin/midi-mapping.cpp index 3f2ec861..13d5a437 100644 --- a/src/common/serialization/vst3/plugin/midi-mapping.cpp +++ b/src/common/serialization/vst3/plugin/midi-mapping.cpp @@ -22,5 +22,5 @@ YaMidiMapping::ConstructArgs::ConstructArgs( Steinberg::IPtr object) noexcept : supported(Steinberg::FUnknownPtr(object)) {} -YaMidiMapping::YaMidiMapping(const ConstructArgs&& args) noexcept +YaMidiMapping::YaMidiMapping(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/midi-mapping.h b/src/common/serialization/vst3/plugin/midi-mapping.h index b9d5e518..4d891ff5 100644 --- a/src/common/serialization/vst3/plugin/midi-mapping.h +++ b/src/common/serialization/vst3/plugin/midi-mapping.h @@ -57,7 +57,7 @@ class YaMidiMapping : public Steinberg::Vst::IMidiMapping { * Instantiate this instance with arguments read from another interface * implementation. */ - YaMidiMapping(const ConstructArgs&& args) noexcept; + YaMidiMapping(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/note-expression-controller.cpp b/src/common/serialization/vst3/plugin/note-expression-controller.cpp index d5731f53..19e66580 100644 --- a/src/common/serialization/vst3/plugin/note-expression-controller.cpp +++ b/src/common/serialization/vst3/plugin/note-expression-controller.cpp @@ -25,5 +25,5 @@ YaNoteExpressionController::ConstructArgs::ConstructArgs( object)) {} YaNoteExpressionController::YaNoteExpressionController( - const ConstructArgs&& args) noexcept + ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/note-expression-controller.h b/src/common/serialization/vst3/plugin/note-expression-controller.h index 60bd130c..17a8d5a2 100644 --- a/src/common/serialization/vst3/plugin/note-expression-controller.h +++ b/src/common/serialization/vst3/plugin/note-expression-controller.h @@ -61,7 +61,7 @@ class YaNoteExpressionController * Instantiate this instance with arguments read from another interface * implementation. */ - YaNoteExpressionController(const ConstructArgs&& args) noexcept; + YaNoteExpressionController(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/note-expression-physical-ui-mapping.cpp b/src/common/serialization/vst3/plugin/note-expression-physical-ui-mapping.cpp index 93527230..3dc4e3f5 100644 --- a/src/common/serialization/vst3/plugin/note-expression-physical-ui-mapping.cpp +++ b/src/common/serialization/vst3/plugin/note-expression-physical-ui-mapping.cpp @@ -24,5 +24,5 @@ YaNoteExpressionPhysicalUIMapping::ConstructArgs::ConstructArgs( Steinberg::Vst::INoteExpressionPhysicalUIMapping>(object)) {} YaNoteExpressionPhysicalUIMapping::YaNoteExpressionPhysicalUIMapping( - const ConstructArgs&& args) noexcept + ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/note-expression-physical-ui-mapping.h b/src/common/serialization/vst3/plugin/note-expression-physical-ui-mapping.h index 908ccbee..eaa8b671 100644 --- a/src/common/serialization/vst3/plugin/note-expression-physical-ui-mapping.h +++ b/src/common/serialization/vst3/plugin/note-expression-physical-ui-mapping.h @@ -60,7 +60,7 @@ class YaNoteExpressionPhysicalUIMapping * Instantiate this instance with arguments read from another interface * implementation. */ - YaNoteExpressionPhysicalUIMapping(const ConstructArgs&& args) noexcept; + YaNoteExpressionPhysicalUIMapping(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/parameter-function-name.cpp b/src/common/serialization/vst3/plugin/parameter-function-name.cpp index b4bfd926..c3898f18 100644 --- a/src/common/serialization/vst3/plugin/parameter-function-name.cpp +++ b/src/common/serialization/vst3/plugin/parameter-function-name.cpp @@ -24,5 +24,5 @@ YaParameterFunctionName::ConstructArgs::ConstructArgs( object)) {} YaParameterFunctionName::YaParameterFunctionName( - const ConstructArgs&& args) noexcept + ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/parameter-function-name.h b/src/common/serialization/vst3/plugin/parameter-function-name.h index ae06960f..c735085f 100644 --- a/src/common/serialization/vst3/plugin/parameter-function-name.h +++ b/src/common/serialization/vst3/plugin/parameter-function-name.h @@ -59,7 +59,7 @@ class YaParameterFunctionName : public Steinberg::Vst::IParameterFunctionName { * Instantiate this instance with arguments read from another interface * implementation. */ - YaParameterFunctionName(const ConstructArgs&& args) noexcept; + YaParameterFunctionName(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/plugin-base.cpp b/src/common/serialization/vst3/plugin/plugin-base.cpp index c33f547b..c7ca3cf8 100644 --- a/src/common/serialization/vst3/plugin/plugin-base.cpp +++ b/src/common/serialization/vst3/plugin/plugin-base.cpp @@ -22,5 +22,5 @@ YaPluginBase::ConstructArgs::ConstructArgs( Steinberg::IPtr object) noexcept : supported(Steinberg::FUnknownPtr(object)) {} -YaPluginBase::YaPluginBase(const ConstructArgs&& args) noexcept +YaPluginBase::YaPluginBase(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/plugin-base.h b/src/common/serialization/vst3/plugin/plugin-base.h index 62995ce5..d9597c8d 100644 --- a/src/common/serialization/vst3/plugin/plugin-base.h +++ b/src/common/serialization/vst3/plugin/plugin-base.h @@ -59,7 +59,7 @@ class YaPluginBase : public Steinberg::IPluginBase { * Instantiate this instance with arguments read from another interface * implementation. */ - YaPluginBase(const ConstructArgs&& args) noexcept; + YaPluginBase(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/prefetchable-support.cpp b/src/common/serialization/vst3/plugin/prefetchable-support.cpp index d17fa578..855f0448 100644 --- a/src/common/serialization/vst3/plugin/prefetchable-support.cpp +++ b/src/common/serialization/vst3/plugin/prefetchable-support.cpp @@ -24,5 +24,5 @@ YaPrefetchableSupport::ConstructArgs::ConstructArgs( object)) {} YaPrefetchableSupport::YaPrefetchableSupport( - const ConstructArgs&& args) noexcept + ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/prefetchable-support.h b/src/common/serialization/vst3/plugin/prefetchable-support.h index 7536489b..d7bec0b0 100644 --- a/src/common/serialization/vst3/plugin/prefetchable-support.h +++ b/src/common/serialization/vst3/plugin/prefetchable-support.h @@ -58,7 +58,7 @@ class YaPrefetchableSupport : public Steinberg::Vst::IPrefetchableSupport { * Instantiate this instance with arguments read from another interface * implementation. */ - YaPrefetchableSupport(const ConstructArgs&& args) noexcept; + YaPrefetchableSupport(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/process-context-requirements.cpp b/src/common/serialization/vst3/plugin/process-context-requirements.cpp index b6aba708..4eb86644 100644 --- a/src/common/serialization/vst3/plugin/process-context-requirements.cpp +++ b/src/common/serialization/vst3/plugin/process-context-requirements.cpp @@ -25,5 +25,5 @@ YaProcessContextRequirements::ConstructArgs::ConstructArgs( object)) {} YaProcessContextRequirements::YaProcessContextRequirements( - const ConstructArgs&& args) noexcept + ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/process-context-requirements.h b/src/common/serialization/vst3/plugin/process-context-requirements.h index d3bf8737..95d86d64 100644 --- a/src/common/serialization/vst3/plugin/process-context-requirements.h +++ b/src/common/serialization/vst3/plugin/process-context-requirements.h @@ -60,7 +60,7 @@ class YaProcessContextRequirements * Instantiate this instance with arguments read from another interface * implementation. */ - YaProcessContextRequirements(const ConstructArgs&& args) noexcept; + YaProcessContextRequirements(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/program-list-data.cpp b/src/common/serialization/vst3/plugin/program-list-data.cpp index 8c9159d8..3fe83bc3 100644 --- a/src/common/serialization/vst3/plugin/program-list-data.cpp +++ b/src/common/serialization/vst3/plugin/program-list-data.cpp @@ -23,5 +23,5 @@ YaProgramListData::ConstructArgs::ConstructArgs( : supported( Steinberg::FUnknownPtr(object)) {} -YaProgramListData::YaProgramListData(const ConstructArgs&& args) noexcept +YaProgramListData::YaProgramListData(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/program-list-data.h b/src/common/serialization/vst3/plugin/program-list-data.h index d6a7f577..60b95e2e 100644 --- a/src/common/serialization/vst3/plugin/program-list-data.h +++ b/src/common/serialization/vst3/plugin/program-list-data.h @@ -58,7 +58,7 @@ class YaProgramListData : public Steinberg::Vst::IProgramListData { * Instantiate this instance with arguments read from another interface * implementation. */ - YaProgramListData(const ConstructArgs&& args) noexcept; + YaProgramListData(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/unit-data.cpp b/src/common/serialization/vst3/plugin/unit-data.cpp index 811e2af0..172c59eb 100644 --- a/src/common/serialization/vst3/plugin/unit-data.cpp +++ b/src/common/serialization/vst3/plugin/unit-data.cpp @@ -22,5 +22,5 @@ YaUnitData::ConstructArgs::ConstructArgs( Steinberg::IPtr object) noexcept : supported(Steinberg::FUnknownPtr(object)) {} -YaUnitData::YaUnitData(const ConstructArgs&& args) noexcept +YaUnitData::YaUnitData(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/unit-data.h b/src/common/serialization/vst3/plugin/unit-data.h index 1e81af65..3c1962df 100644 --- a/src/common/serialization/vst3/plugin/unit-data.h +++ b/src/common/serialization/vst3/plugin/unit-data.h @@ -58,7 +58,7 @@ class YaUnitData : public Steinberg::Vst::IUnitData { * Instantiate this instance with arguments read from another interface * implementation. */ - YaUnitData(const ConstructArgs&& args) noexcept; + YaUnitData(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/unit-info.cpp b/src/common/serialization/vst3/plugin/unit-info.cpp index a5e23167..26c72ef6 100644 --- a/src/common/serialization/vst3/plugin/unit-info.cpp +++ b/src/common/serialization/vst3/plugin/unit-info.cpp @@ -22,5 +22,5 @@ YaUnitInfo::ConstructArgs::ConstructArgs( Steinberg::IPtr object) noexcept : supported(Steinberg::FUnknownPtr(object)) {} -YaUnitInfo::YaUnitInfo(const ConstructArgs&& args) noexcept +YaUnitInfo::YaUnitInfo(ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/unit-info.h b/src/common/serialization/vst3/plugin/unit-info.h index 47f357b8..b3afa6f9 100644 --- a/src/common/serialization/vst3/plugin/unit-info.h +++ b/src/common/serialization/vst3/plugin/unit-info.h @@ -58,7 +58,7 @@ class YaUnitInfo : public Steinberg::Vst::IUnitInfo { * Instantiate this instance with arguments read from another interface * implementation. */ - YaUnitInfo(const ConstructArgs&& args) noexcept; + YaUnitInfo(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/common/serialization/vst3/plugin/xml-representation-controller.cpp b/src/common/serialization/vst3/plugin/xml-representation-controller.cpp index 4f5144d2..194a9f6b 100644 --- a/src/common/serialization/vst3/plugin/xml-representation-controller.cpp +++ b/src/common/serialization/vst3/plugin/xml-representation-controller.cpp @@ -25,5 +25,5 @@ YaXmlRepresentationController::ConstructArgs::ConstructArgs( object)) {} YaXmlRepresentationController::YaXmlRepresentationController( - const ConstructArgs&& args) noexcept + ConstructArgs&& args) noexcept : arguments(std::move(args)) {} diff --git a/src/common/serialization/vst3/plugin/xml-representation-controller.h b/src/common/serialization/vst3/plugin/xml-representation-controller.h index 5d94da58..d38faaeb 100644 --- a/src/common/serialization/vst3/plugin/xml-representation-controller.h +++ b/src/common/serialization/vst3/plugin/xml-representation-controller.h @@ -65,7 +65,7 @@ class YaXmlRepresentationController * Instantiate this instance with arguments read from another interface * implementation. */ - YaXmlRepresentationController(const ConstructArgs&& args) noexcept; + YaXmlRepresentationController(ConstructArgs&& args) noexcept; inline bool supported() const noexcept { return arguments.supported; } diff --git a/src/plugin/bridges/vst3-impls/context-menu-target.cpp b/src/plugin/bridges/vst3-impls/context-menu-target.cpp index 05137bb0..49603ae6 100644 --- a/src/plugin/bridges/vst3-impls/context-menu-target.cpp +++ b/src/plugin/bridges/vst3-impls/context-menu-target.cpp @@ -16,9 +16,8 @@ #include "context-menu-target.h" -YaContextMenuTargetImpl::YaContextMenuTargetImpl( - Vst3PluginBridge& bridge, - const ConstructArgs&& args) noexcept +YaContextMenuTargetImpl::YaContextMenuTargetImpl(Vst3PluginBridge& bridge, + ConstructArgs&& args) noexcept : YaContextMenuTarget(std::move(args)), bridge(bridge) {} tresult PLUGIN_API diff --git a/src/plugin/bridges/vst3-impls/context-menu-target.h b/src/plugin/bridges/vst3-impls/context-menu-target.h index 996921d0..1f9ad77b 100644 --- a/src/plugin/bridges/vst3-impls/context-menu-target.h +++ b/src/plugin/bridges/vst3-impls/context-menu-target.h @@ -21,7 +21,7 @@ class YaContextMenuTargetImpl : public YaContextMenuTarget { public: YaContextMenuTargetImpl(Vst3PluginBridge& bridge, - const ConstructArgs&& args) noexcept; + ConstructArgs&& args) noexcept; /** * We'll override the query interface to log queries for interfaces we do diff --git a/src/wine-host/bridges/group.h b/src/wine-host/bridges/group.h index f30bec91..b8ddb041 100644 --- a/src/wine-host/bridges/group.h +++ b/src/wine-host/bridges/group.h @@ -130,7 +130,7 @@ class GroupBridge { GroupBridge(const GroupBridge&) = delete; GroupBridge& operator=(const GroupBridge&) = delete; - GroupBridge(const GroupBridge&&) = delete; + GroupBridge(GroupBridge&&) = delete; GroupBridge& operator=(GroupBridge&&) = delete; /**