mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
Converted another declaration to const and constructor syntax
This commit is contained in:
parent
d8776dca8a
commit
e29d0eefbc
@ -1054,7 +1054,7 @@ offs_t sparc_disassembler::dasm(char *buf, offs_t pc, uint32_t op) const
|
||||
{
|
||||
std::ostringstream stream;
|
||||
const offs_t result(dasm(stream, pc, op));
|
||||
std::string stream_str = stream.str();
|
||||
const std::string stream_str(stream.str());
|
||||
strcpy(buf, stream_str.c_str());
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user