diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-19 07:27:27 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-19 07:27:29 +0200 |
commit | 63e64f0131424708da5be6e64109f4909d65d057 (patch) | |
tree | 763ffc8992522e3c725aea4536f9b7f861914b3f | |
parent | Merge pull request #692 from lioncash/assign (diff) | |
download | yuzu-63e64f0131424708da5be6e64109f4909d65d057.tar yuzu-63e64f0131424708da5be6e64109f4909d65d057.tar.gz yuzu-63e64f0131424708da5be6e64109f4909d65d057.tar.bz2 yuzu-63e64f0131424708da5be6e64109f4909d65d057.tar.lz yuzu-63e64f0131424708da5be6e64109f4909d65d057.tar.xz yuzu-63e64f0131424708da5be6e64109f4909d65d057.tar.zst yuzu-63e64f0131424708da5be6e64109f4909d65d057.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/file_util.cpp | 2 | ||||
-rw-r--r-- | src/common/file_util.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp index bf955386c..c882ab39f 100644 --- a/src/common/file_util.cpp +++ b/src/common/file_util.cpp @@ -592,7 +592,7 @@ std::string GetBundleDirectory() { #endif #ifdef _WIN32 -std::string& GetExeDirectory() { +const std::string& GetExeDirectory() { static std::string exe_path; if (exe_path.empty()) { wchar_t wchar_exe_path[2048]; diff --git a/src/common/file_util.h b/src/common/file_util.h index 026c84d94..1f38b1560 100644 --- a/src/common/file_util.h +++ b/src/common/file_util.h @@ -133,7 +133,7 @@ std::string GetBundleDirectory(); #endif #ifdef _WIN32 -std::string& GetExeDirectory(); +const std::string& GetExeDirectory(); std::string AppDataRoamingDirectory(); #endif |