diff options
author | bunnei <bunneidev@gmail.com> | 2016-05-01 17:44:57 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-05-01 17:44:57 -0400 |
commit | 15d0e982678d6151bb058fbb8ea0f39b7ffa688a (patch) | |
tree | 716ea2ff8d136622183261274564eeb03aed5c5f /src/video_core/pica.cpp | |
parent | 17ecf0d1a2e508cfccfab093a4481dc81d228776 (diff) | |
parent | 691a42fe98954c247a8b7e9305a3e9ca5c04d40c (diff) |
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 @@ // Refer to the license.txt file included. #include <cstring> +#include <iterator> #include <unordered_map> +#include <utility> #include "video_core/pica.h" #include "video_core/pica_state.h" +#include "video_core/primitive_assembly.h" #include "video_core/shader/shader.h" namespace Pica { @@ -480,7 +483,7 @@ std::string Regs::GetCommandName(int index) { static std::unordered_map<u32, const char*> map; if (map.empty()) { - map.insert(begin(register_names), end(register_names)); + map.insert(std::begin(register_names), std::end(register_names)); } // Return empty string if no match is found |