diff options
| author | 2020-07-07 10:01:08 +0000 | |
|---|---|---|
| committer | 2020-07-07 10:02:03 +0000 | |
| commit | 1db10b8f4c72a9768122e16c6a69f760a9ff244e (patch) | |
| tree | c01eeae9a6950532bc9bcfe502fcd7173f9ebd2e /src | |
| parent | Merge pull request #4258 from ameerj/master (diff) | |
| download | yuzu-1db10b8f4c72a9768122e16c6a69f760a9ff244e.tar.gz yuzu-1db10b8f4c72a9768122e16c6a69f760a9ff244e.tar.xz yuzu-1db10b8f4c72a9768122e16c6a69f760a9ff244e.zip | |
input_common/gcadapter: add missing C++11 header required by libc++
In file included from src/input_common/gcadapter/gc_adapter.cpp:8:
src/./input_common/gcadapter/gc_adapter.h:77:10: error: no template named 'unordered_map' in namespace 'std'
std::unordered_map<int, bool> buttons;
~~~~~^
src/./input_common/gcadapter/gc_adapter.h:78:10: error: no template named 'unordered_map' in namespace 'std'
std::unordered_map<int, u16> axes;
~~~~~^
Diffstat (limited to 'src')
| -rw-r--r-- | src/input_common/gcadapter/gc_adapter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input_common/gcadapter/gc_adapter.h b/src/input_common/gcadapter/gc_adapter.h index 0ea6263eb..b1c2a1958 100644 --- a/src/input_common/gcadapter/gc_adapter.h +++ b/src/input_common/gcadapter/gc_adapter.h | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | #include <functional> | 7 | #include <functional> |
| 8 | #include <mutex> | 8 | #include <mutex> |
| 9 | #include <thread> | 9 | #include <thread> |
| 10 | #include <unordered_map> | ||
| 10 | #include <libusb.h> | 11 | #include <libusb.h> |
| 11 | #include "common/common_types.h" | 12 | #include "common/common_types.h" |
| 12 | #include "common/threadsafe_queue.h" | 13 | #include "common/threadsafe_queue.h" |