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
@@ -457,7 +457,7 @@ void KeybToggleCapsLock ()
|
||||
#define SS_YAML_KEY_LASTKEY "Last Key"
|
||||
#define SS_YAML_KEY_KEYWAITING "Key Waiting"
|
||||
|
||||
static std::string KeybGetSnapshotStructName(void)
|
||||
static const std::string& KeybGetSnapshotStructName(void)
|
||||
{
|
||||
static const std::string name("Keyboard");
|
||||
return name;
|
||||
|
||||
Reference in New Issue
Block a user