mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-11-30 02:56:42 -08:00
misc: clean up eamuse_get_game (#713)
No need to allocate a new `std::string` every call...
This commit is contained in:
1 parent
b4557993c9
commit
89602cfcab
2 files changed
+2
-2
No files matched your search
@@ -631,7 +631,7 @@ void eamuse_update_keypad_bindings() {
|
||||
KEYPAD_BINDINGS = Config::getInstance().getKeypadBindings(EAMUSE_GAME_NAME);
|
||||
}
|
||||
|
||||
std::string eamuse_get_game() {
|
||||
const std::string &eamuse_get_game() {
|
||||
return EAMUSE_GAME_NAME;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user