mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-01-23 06:16:12 +00:00
Various *Name() functions can simply return const std::string& (PR #1049)
This commit is contained in:
@@ -209,7 +209,7 @@ void Printer_SetIdleLimit(unsigned int Duration)
|
||||
#define SS_YAML_KEY_APPEND "Printer Append"
|
||||
#define SS_YAML_KEY_DUMPTOREALPRINTER "Enable Dump To Real Printer"
|
||||
|
||||
std::string Printer_GetSnapshotCardName(void)
|
||||
const std::string& Printer_GetSnapshotCardName(void)
|
||||
{
|
||||
static const std::string name(SS_YAML_VALUE_CARD_PRINTER);
|
||||
return name;
|
||||
|
||||
Reference in New Issue
Block a user