mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 00:17:16 +00:00
Various *Name() functions can simply return const std::string& (PR #1049)
This commit is contained in:
+1
-1
@@ -797,7 +797,7 @@ void CpuNmiDeassert(eIRQSRC Device)
|
||||
#define SS_YAML_VALUE_6502 "6502"
|
||||
#define SS_YAML_VALUE_65C02 "65C02"
|
||||
|
||||
static std::string CpuGetSnapshotStructName(void)
|
||||
static const std::string& CpuGetSnapshotStructName(void)
|
||||
{
|
||||
static const std::string name("CPU");
|
||||
return name;
|
||||
|
||||
Reference in New Issue
Block a user