Various *Name() functions can simply return const std::string& (PR #1049)

This commit is contained in:
Kelvin Lee
2022-03-01 07:52:18 +11:00
committed by GitHub
parent d2004553f1
commit 80f3eaeb91
39 changed files with 53 additions and 53 deletions

View File

@@ -628,7 +628,7 @@ void CMouseInterface::SetButton(eBUTTON Button, eBUTTONSTATE State)
#define SS_YAML_KEY_BUTTON1 "Button1"
#define SS_YAML_KEY_ENABLED "Enabled"
std::string CMouseInterface::GetSnapshotCardName(void)
const std::string& CMouseInterface::GetSnapshotCardName(void)
{
static const std::string name(SS_YAML_VALUE_CARD_MOUSE);
return name;