summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcmd.cpp
diff options
context:
space:
mode:
author Patrick Mackinlay <pmackinlay@hotmail.com>2024-06-05 08:57:45 +0700
committer Patrick Mackinlay <pmackinlay@hotmail.com>2024-06-05 08:57:45 +0700
commit6e243e2f5c320512459f8974e4d2fed59f5cbfb3 (patch)
tree40548066f7eacd0312cfe3465b0ae8ae9098e712 /src/emu/debug/debugcmd.cpp
parent1de13651027c76fcbbe44ea1419dadda9aac853b (diff)
debug: fix MT#08870, debugger tracesym regression
Diffstat (limited to 'src/emu/debug/debugcmd.cpp')
-rw-r--r--src/emu/debug/debugcmd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp
index ad463ace500..724102cb8ec 100644
--- a/src/emu/debug/debugcmd.cpp
+++ b/src/emu/debug/debugcmd.cpp
@@ -739,7 +739,8 @@ void debugger_commands::execute_tracesym(const std::vector<std::string_view> &pa
// build parameters for printf
std::vector<std::string_view> printf_params(params);
- printf_params.insert(printf_params.begin(), format.str());
+ auto const format_str = format.str(); // HACK: workaround for pre-C++20 str()
+ printf_params.insert(printf_params.begin(), format_str);
// then do a printf
std::ostringstream buffer;