mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-16 08:23:55 +02:00
Replace const-rvalue with rvalue
Since const-rvalue doesn't make any sense.
This commit is contained in:
@@ -23,5 +23,5 @@ YaParameterFinder::ConstructArgs::ConstructArgs(
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IParameterFinder>(object)) {}
|
||||
|
||||
YaParameterFinder::YaParameterFinder(const ConstructArgs&& args) noexcept
|
||||
YaParameterFinder::YaParameterFinder(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
@@ -24,5 +24,5 @@ YaPlugViewContentScaleSupport::ConstructArgs::ConstructArgs(
|
||||
object)) {}
|
||||
|
||||
YaPlugViewContentScaleSupport::YaPlugViewContentScaleSupport(
|
||||
const ConstructArgs&& args) noexcept
|
||||
ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
@@ -22,5 +22,5 @@ YaPlugView::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::IPlugView>(object)) {}
|
||||
|
||||
YaPlugView::YaPlugView(const ConstructArgs&& args) noexcept
|
||||
YaPlugView::YaPlugView(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user