mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 11:05:46 +00:00
file_util: return string by const reference for GetExeDirectory()
This disallows modifying the internal string buffer (which shouldn't be modified anyhow).
This commit is contained in:
parent
25c34badfa
commit
ba015f825f
2 changed files with 2 additions and 2 deletions
|
@ -133,7 +133,7 @@ std::string GetBundleDirectory();
|
|||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
std::string& GetExeDirectory();
|
||||
const std::string& GetExeDirectory();
|
||||
std::string AppDataRoamingDirectory();
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue