diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-06-08 20:54:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-08 20:54:21 +0200 |
| commit | 0d07ebab25888887ac1affbb7b79c1764b3cabcb (patch) | |
| tree | faa351c8b1bd5b5a4fcb5ff3a80ba76b34dadc4e /Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp | |
| parent | e8c87dc4fd3f25f57b13940b2a3ce82618e20648 (diff) | |
| parent | 2b0a9477d04579877d0225b94a3bcd618dea5918 (diff) | |
Merge pull request #11908 from lioncash/strcopy
Debugger: Remove some trivial string copies
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp b/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp index 588c353d88..de04411ece 100644 --- a/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp @@ -168,7 +168,7 @@ void BreakpointWidget::Update() int i = 0; m_table->setRowCount(i); - const auto create_item = [](const QString string = {}) { + const auto create_item = [](const QString& string = {}) { QTableWidgetItem* item = new QTableWidgetItem(string); item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable); return item; |
