Clean up the string type in RequestCallback - somehow was both char* and std::string????

Might be related to #21695
This commit is contained in:
Henrik Rydgård
2026-05-18 14:16:34 +02:00
parent f4e52d5db5
commit cc0ece038c
19 changed files with 55 additions and 54 deletions
+2 -2
View File
@@ -758,8 +758,8 @@ void DeveloperToolsScreen::OnMIPSTracerPathChanged(UI::EventParams &e) {
dev->T("Select the log file"),
"trace.txt",
BrowseFileType::ANY,
[this](const std::string &value, int) {
mipsTracer.set_logging_path(value);
[this](std::string_view value, int) {
mipsTracer.set_logging_path(std::string(value));
MIPSTracerPath_ = value;
MIPSTracerPath->SetRightText(MIPSTracerPath_);
}