mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-19 07:37:12 +00:00
Various *Name() functions can simply return const std::string& (PR #1049)
This commit is contained in:
+1
-1
@@ -96,7 +96,7 @@ void SAMCard::InitializeIO(LPBYTE pCxRomPeripheral)
|
||||
|
||||
static const UINT kUNIT_VERSION = 1;
|
||||
|
||||
std::string SAMCard::GetSnapshotCardName(void)
|
||||
const std::string& SAMCard::GetSnapshotCardName(void)
|
||||
{
|
||||
static const std::string name("SAM");
|
||||
return name;
|
||||
|
||||
Reference in New Issue
Block a user