mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 15:17:50 +00:00
Various *Name() functions can simply return const std::string& (PR #1049)
This commit is contained in:
+1
-1
@@ -936,7 +936,7 @@ void JoyportControl(const UINT uControl)
|
||||
#define SS_YAML_KEY_JOY1TRIMY "Joystick1 TrimY"
|
||||
#define SS_YAML_KEY_PDL_INACTIVE_CYCLE "Paddle%1d Inactive Cycle"
|
||||
|
||||
static std::string JoyGetSnapshotStructName(void)
|
||||
static const std::string& JoyGetSnapshotStructName(void)
|
||||
{
|
||||
static const std::string name("Joystick");
|
||||
return name;
|
||||
|
||||
Reference in New Issue
Block a user