Fix unqualified call warnings

Reduce a significant amount of warnings while building.
This commit is contained in:
Avery King
2025-03-14 13:13:19 -07:00
parent 41b29aee88
commit da516ec0e1
60 changed files with 142 additions and 142 deletions

View File

@@ -88,10 +88,10 @@ CommandManager::Populator::Populator(AudacityProject &project,
) : Visitor{
std::tuple {
[this](auto &item, auto &){ DoBeginGroup(item); },
move(leafVisitor),
std::move(leafVisitor),
[this](auto &item, auto &){ DoEndGroup(item); },
},
move(doSeparator)
std::move(doSeparator)
}
, mProject{ project }
{

View File

@@ -168,8 +168,8 @@ namespace MenuRegistry {
}
}}
, mWrapped{ move(functions) }
, mDoSeparator{ move(doSeparator) }
, mWrapped{ std::move(functions) }
, mDoSeparator{ std::move(doSeparator) }
{}
private:
@@ -348,7 +348,7 @@ namespace MenuRegistry {
CommandFlag flags_,
bool isEffect_,
CommandHandlerFinder finder = FinderScope::DefaultFinder())
: CommandGroupItem(name_, move(items_),
: CommandGroupItem(name_, std::move(items_),
CommandFunctorPointer{
static_cast<CommandFunctorPointer::MemberFn>(pmf) },
flags_, isEffect_, finder)
@@ -361,7 +361,7 @@ namespace MenuRegistry {
CommandFunctorPointer::NonMemberFn fn,
CommandFlag flags,
bool isEffect = false)
: CommandGroupItem(name, move(items),
: CommandGroupItem(name, std::move(items),
CommandFunctorPointer{ fn },
flags, isEffect, nullptr)
{}