diff options
| author | 2016-05-01 17:44:57 -0400 | |
|---|---|---|
| committer | 2016-05-01 17:44:57 -0400 | |
| commit | 15d0e982678d6151bb058fbb8ea0f39b7ffa688a (patch) | |
| tree | 716ea2ff8d136622183261274564eeb03aed5c5f /src/video_core/pica.cpp | |
| 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/video_core/pica.cpp')
| -rw-r--r-- | src/video_core/pica.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/video_core/pica.cpp b/src/video_core/pica.cpp index ccbaf071b..be82cf4b5 100644 --- a/src/video_core/pica.cpp +++ b/src/video_core/pica.cpp | |||
| @@ -3,10 +3,13 @@ | |||
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <cstring> | 5 | #include <cstring> |
| 6 | #include <iterator> | ||
| 6 | #include <unordered_map> | 7 | #include <unordered_map> |
| 8 | #include <utility> | ||
| 7 | 9 | ||
| 8 | #include "video_core/pica.h" | 10 | #include "video_core/pica.h" |
| 9 | #include "video_core/pica_state.h" | 11 | #include "video_core/pica_state.h" |
| 12 | #include "video_core/primitive_assembly.h" | ||
| 10 | #include "video_core/shader/shader.h" | 13 | #include "video_core/shader/shader.h" |
| 11 | 14 | ||
| 12 | namespace Pica { | 15 | namespace Pica { |
| @@ -480,7 +483,7 @@ std::string Regs::GetCommandName(int index) { | |||
| 480 | static std::unordered_map<u32, const char*> map; | 483 | static std::unordered_map<u32, const char*> map; |
| 481 | 484 | ||
| 482 | if (map.empty()) { | 485 | if (map.empty()) { |
| 483 | map.insert(begin(register_names), end(register_names)); | 486 | map.insert(std::begin(register_names), std::end(register_names)); |
| 484 | } | 487 | } |
| 485 | 488 | ||
| 486 | // Return empty string if no match is found | 489 | // Return empty string if no match is found |