diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-07-19 09:03:30 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-07-19 09:15:38 -0400 |
| commit | 03d8c78199204fd4c099d3e9f6462512771213d3 (patch) | |
| tree | 76438b697194444d6a2a16d3bd885758abd8bccd /src/core/loader/loader.cpp | |
| parent | 49881ebe2c4023a2e4a38b224bf9013dee7e24db (diff) | |
common/misc: Deduplicate code in GetLastErrorMsg()
Android and macOS have supported thread_local for quite a while, but
most importantly is that we don't even really need it. Instead of using
a thread-local buffer, we can just return a non-static buffer as a
std::string, avoiding the need for that quality entirely.
Diffstat (limited to 'src/core/loader/loader.cpp')
0 files changed, 0 insertions, 0 deletions
