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
@@ -213,7 +213,7 @@ static const UINT kUNIT_VERSION = 1;
|
||||
|
||||
#define SS_YAML_KEY_BUTTON_INDEX "Button Index"
|
||||
|
||||
std::string SNESMAXCard::GetSnapshotCardName(void)
|
||||
const std::string& SNESMAXCard::GetSnapshotCardName(void)
|
||||
{
|
||||
static const std::string name("SNES MAX");
|
||||
return name;
|
||||
|
||||
Reference in New Issue
Block a user