diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2020-12-21 22:47:30 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2020-12-21 22:47:30 -0500 |
commit | 0a5d207e667075f4ea0618339d971c0f977d9ce1 (patch) | |
tree | 9ccac3725e3ed25e4ab56fe43a4a50d821d54e0d /src/frontend/mame/infoxml.cpp | |
parent | 1ed70b0181557558aa2e685f7f7bbe81a54d0626 (diff) |
Eliminate many unnecessary c_str calls
Diffstat (limited to 'src/frontend/mame/infoxml.cpp')
-rw-r--r-- | src/frontend/mame/infoxml.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/infoxml.cpp b/src/frontend/mame/infoxml.cpp index 88d9e305b87..1aeee7b51d6 100644 --- a/src/frontend/mame/infoxml.cpp +++ b/src/frontend/mame/infoxml.cpp @@ -364,7 +364,7 @@ void info_xml_creator::output(std::ostream &out, const std::vector<std::string> if (iter != matched.end()) { int index = iter - matched.begin(); - throw emu_fatalerror(EMU_ERR_NO_SUCH_SYSTEM, "No matching machines found for '%s'", patterns[index].c_str()); + throw emu_fatalerror(EMU_ERR_NO_SUCH_SYSTEM, "No matching machines found for '%s'", patterns[index]); } } } |