diff --git a/Source/Core/DolphinQt2/Debugger/RegisterWidget.cpp b/Source/Core/DolphinQt2/Debugger/RegisterWidget.cpp index 9fd01350e9..8b6fa48bfb 100644 --- a/Source/Core/DolphinQt2/Debugger/RegisterWidget.cpp +++ b/Source/Core/DolphinQt2/Debugger/RegisterWidget.cpp @@ -323,7 +323,7 @@ void RegisterWidget::PopulateTable() } void RegisterWidget::AddRegister(int row, int column, RegisterType type, std::string register_name, - std::function get_reg, std::function set_reg) + std::function get_reg, std::function set_reg) { auto* value = new RegisterColumn(type, get_reg, set_reg); diff --git a/Source/Core/DolphinQt2/Debugger/RegisterWidget.h b/Source/Core/DolphinQt2/Debugger/RegisterWidget.h index f5c1a4c1a1..795550505e 100644 --- a/Source/Core/DolphinQt2/Debugger/RegisterWidget.h +++ b/Source/Core/DolphinQt2/Debugger/RegisterWidget.h @@ -40,7 +40,7 @@ private: void OnItemChanged(QTableWidgetItem* item); void AddRegister(int row, int column, RegisterType type, std::string register_name, - std::function get_reg, std::function set_reg); + std::function get_reg, std::function set_reg); QTableWidget* m_table; bool m_updating = false;