diff options
| author | 2016-05-01 17:44:57 -0400 | |
|---|---|---|
| committer | 2016-05-01 17:44:57 -0400 | |
| commit | 15d0e982678d6151bb058fbb8ea0f39b7ffa688a (patch) | |
| tree | 716ea2ff8d136622183261274564eeb03aed5c5f /src/core | |
| parent | Merge pull request #1745 from JayFoxRox/fix-const_color (diff) | |
| parent | VideoCore: Run include-what-you-use and fix most includes. (diff) | |
| download | yuzu-15d0e982678d6151bb058fbb8ea0f39b7ffa688a.tar.gz yuzu-15d0e982678d6151bb058fbb8ea0f39b7ffa688a.tar.xz yuzu-15d0e982678d6151bb058fbb8ea0f39b7ffa688a.zip | |
Merge pull request #1741 from linkmauve/iwyu-video_core
Fix video_core includes (and dependencies) using include-what-you-use
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/result.h | 1 | ||||
| -rw-r--r-- | src/core/hle/service/gsp_gpu.h | 1 | ||||
| -rw-r--r-- | src/core/hw/lcd.h | 2 | ||||
| -rw-r--r-- | src/core/settings.h | 3 | ||||
| -rw-r--r-- | src/core/tracer/recorder.h | 1 |
5 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/result.h b/src/core/hle/result.h index 53931a106..3fc1ab4ee 100644 --- a/src/core/hle/result.h +++ b/src/core/hle/result.h | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <new> | 7 | #include <new> |
| 8 | #include <type_traits> | ||
| 9 | #include <utility> | 8 | #include <utility> |
| 10 | 9 | ||
| 11 | #include "common/assert.h" | 10 | #include "common/assert.h" |
diff --git a/src/core/hle/service/gsp_gpu.h b/src/core/hle/service/gsp_gpu.h index 55a993bb8..3b4b678a3 100644 --- a/src/core/hle/service/gsp_gpu.h +++ b/src/core/hle/service/gsp_gpu.h | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | #include "common/bit_field.h" | 10 | #include "common/bit_field.h" |
| 11 | #include "common/common_types.h" | 11 | #include "common/common_types.h" |
| 12 | 12 | ||
| 13 | #include "core/hle/result.h" | ||
| 13 | #include "core/hle/service/service.h" | 14 | #include "core/hle/service/service.h" |
| 14 | 15 | ||
| 15 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 16 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
diff --git a/src/core/hw/lcd.h b/src/core/hw/lcd.h index 3dd877fbf..57029c5e8 100644 --- a/src/core/hw/lcd.h +++ b/src/core/hw/lcd.h | |||
| @@ -52,8 +52,6 @@ struct Regs { | |||
| 52 | return content[index]; | 52 | return content[index]; |
| 53 | } | 53 | } |
| 54 | 54 | ||
| 55 | #undef ASSERT_MEMBER_SIZE | ||
| 56 | |||
| 57 | }; | 55 | }; |
| 58 | static_assert(std::is_standard_layout<Regs>::value, "Structure does not use standard layout"); | 56 | static_assert(std::is_standard_layout<Regs>::value, "Structure does not use standard layout"); |
| 59 | 57 | ||
diff --git a/src/core/settings.h b/src/core/settings.h index 04c0a47f9..ce2a31164 100644 --- a/src/core/settings.h +++ b/src/core/settings.h | |||
| @@ -6,7 +6,8 @@ | |||
| 6 | 6 | ||
| 7 | #include <string> | 7 | #include <string> |
| 8 | #include <array> | 8 | #include <array> |
| 9 | #include <common/file_util.h> | 9 | |
| 10 | #include "common/common_types.h" | ||
| 10 | 11 | ||
| 11 | namespace Settings { | 12 | namespace Settings { |
| 12 | 13 | ||
diff --git a/src/core/tracer/recorder.h b/src/core/tracer/recorder.h index a42ccc45f..febf883c8 100644 --- a/src/core/tracer/recorder.h +++ b/src/core/tracer/recorder.h | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <string> | ||
| 7 | #include <unordered_map> | 8 | #include <unordered_map> |
| 8 | #include <vector> | 9 | #include <vector> |
| 9 | 10 | ||