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:
@@ -239,7 +239,7 @@ uint16_t Socket::getFreeRoom() const
|
||||
return size - rsr;
|
||||
}
|
||||
|
||||
std::string Uthernet2::GetSnapshotCardName()
|
||||
const std::string& Uthernet2::GetSnapshotCardName()
|
||||
{
|
||||
static const std::string name("Uthernet2");
|
||||
return name;
|
||||
|
||||
Reference in New Issue
Block a user