mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 12:58:33 +02:00
InputCommon: Clean up creation of inputs.
This commit is contained in:
@ -10,13 +10,13 @@
|
||||
|
||||
namespace ControllerEmu
|
||||
{
|
||||
Input::Input(Translatability translate_, const std::string& name_, const std::string& ui_name_)
|
||||
: Control(std::make_unique<InputReference>(), translate_, name_, ui_name_)
|
||||
Input::Input(Translatability translate_, std::string name_, std::string ui_name_)
|
||||
: Control(std::make_unique<InputReference>(), translate_, std::move(name_), std::move(ui_name_))
|
||||
{
|
||||
}
|
||||
|
||||
Input::Input(Translatability translate_, const std::string& name_)
|
||||
: Control(std::make_unique<InputReference>(), translate_, name_)
|
||||
Input::Input(Translatability translate_, std::string name_)
|
||||
: Control(std::make_unique<InputReference>(), translate_, std::move(name_))
|
||||
{
|
||||
}
|
||||
} // namespace ControllerEmu
|
||||
|
Reference in New Issue
Block a user