Replace const-rvalue with rvalue

Since const-rvalue doesn't make any sense.
This commit is contained in:
Robbert van der Helm
2021-07-05 16:39:11 +02:00
parent 1397400155
commit 4e4bbe1ba4
95 changed files with 96 additions and 98 deletions
@@ -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; }