diff options
| author | 2021-09-08 14:36:20 -0400 | |
|---|---|---|
| committer | 2021-09-11 17:19:14 -0400 | |
| commit | 290afc00d36bbdcdc67d66a4586fd2f188734ad3 (patch) | |
| tree | d4f9a8eae42dd93ff1e7393ffea03b30faeab125 /src/common/thread.cpp | |
| parent | Merge pull request #6846 from ameerj/nvdec-gpu-decode (diff) | |
| download | yuzu-290afc00d36bbdcdc67d66a4586fd2f188734ad3.tar.gz yuzu-290afc00d36bbdcdc67d66a4586fd2f188734ad3.tar.xz yuzu-290afc00d36bbdcdc67d66a4586fd2f188734ad3.zip | |
common: Move error handling to error.cpp/h
This allows us to avoid implicitly including <string> every time common_funcs.h is included.
Diffstat (limited to 'src/common/thread.cpp')
| -rw-r--r-- | src/common/thread.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/thread.cpp b/src/common/thread.cpp index d2c1ac60d..946a1114d 100644 --- a/src/common/thread.cpp +++ b/src/common/thread.cpp | |||
| @@ -2,7 +2,9 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include "common/common_funcs.h" | 5 | #include <string> |
| 6 | |||
| 7 | #include "common/error.h" | ||
| 6 | #include "common/logging/log.h" | 8 | #include "common/logging/log.h" |
| 7 | #include "common/thread.h" | 9 | #include "common/thread.h" |
| 8 | #ifdef __APPLE__ | 10 | #ifdef __APPLE__ |
| @@ -21,8 +23,6 @@ | |||
| 21 | #include <unistd.h> | 23 | #include <unistd.h> |
| 22 | #endif | 24 | #endif |
| 23 | 25 | ||
| 24 | #include <string> | ||
| 25 | |||
| 26 | #ifdef __FreeBSD__ | 26 | #ifdef __FreeBSD__ |
| 27 | #define cpu_set_t cpuset_t | 27 | #define cpu_set_t cpuset_t |
| 28 | #endif | 28 | #endif |