mirror of
https://codeberg.org/tenacityteam/tenacity
synced 2025-09-26 16:26:25 +02:00
Fix unqualified call warnings
Reduce a significant amount of warnings while building.
This commit is contained in:
@@ -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 }
|
||||
{
|
||||
|
@@ -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)
|
||||
{}
|
||||
|
Reference in New Issue
Block a user