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,14 +10,15 @@
|
||||
namespace ControllerEmu
|
||||
{
|
||||
Control::Control(std::unique_ptr<ControlReference> ref, Translatability translate_,
|
||||
const std::string& name_, const std::string& ui_name_)
|
||||
: control_ref(std::move(ref)), translate(translate_), name(name_), ui_name(ui_name_)
|
||||
std::string name_, std::string ui_name_)
|
||||
: control_ref(std::move(ref)), translate(translate_), name(std::move(name_)),
|
||||
ui_name(std::move(ui_name_))
|
||||
{
|
||||
}
|
||||
|
||||
Control::Control(std::unique_ptr<ControlReference> ref, Translatability translate_,
|
||||
const std::string& name_)
|
||||
: Control(std::move(ref), translate_, name_, name_)
|
||||
std::string name_)
|
||||
: control_ref(std::move(ref)), translate(translate_), name(name_), ui_name(std::move(name_))
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user