Alex King 1d38e473d7
[Bug Fix] GetBotNameByID Temporary Reference Warning (#4145)
# Notes
- We were getting a warning for returning `std::string()` from this method as it's a temporary reference.
- Change from `const std::string&` to `const std::string` to avoid this.
```
/home/eqemu/source/zone/bot_database.cpp: In member function ‘const std::string& BotDatabase::GetBotNameByID(uint32)’:
/home/eqemu/source/zone/bot_database.cpp:2374:25: warning: returning reference to temporary [-Wreturn-local-addr]
 2374 |         return e.bot_id ? e.name : std::string();
```
2024-03-02 15:18:57 -06:00
..
2023-10-23 22:39:37 -05:00
2023-09-17 13:12:43 -05:00
2024-02-07 23:02:30 -05:00
2021-08-31 01:24:21 -05:00
2024-02-29 21:24:16 -05:00
2024-02-29 21:24:16 -05:00
2024-02-07 23:02:30 -05:00
2024-02-07 23:02:30 -05:00
2024-02-07 23:02:30 -05:00
2023-07-30 01:35:44 -05:00
2024-02-07 23:02:30 -05:00
2024-02-07 23:02:30 -05:00
2024-02-07 23:02:30 -05:00
2024-02-07 23:02:30 -05:00
2024-02-07 23:02:30 -05:00