mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-13 16:16:33 +01:00
Remove unnecessary std::move in return statements...
... and comment where it is necessary.
This commit is contained in:
@@ -125,6 +125,7 @@ public:
|
||||
{
|
||||
auto v = std::make_unique<OptionValidator>();
|
||||
v->mOptions = mOptions;
|
||||
// This std::move is needed to "upcast" the pointer type
|
||||
return std::move(v);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user