diff options
| author | 2023-06-10 00:44:03 -0400 | |
|---|---|---|
| committer | 2023-07-21 10:56:54 -0400 | |
| commit | 0193add060ecc591ca27d029916823911df5d503 (patch) | |
| tree | df156f3ff0ad714507964a98724674bf2fd3c7cb /src/common | |
| parent | settings_enums: Add const type where needed (diff) | |
| download | yuzu-0193add060ecc591ca27d029916823911df5d503.tar.gz yuzu-0193add060ecc591ca27d029916823911df5d503.tar.xz yuzu-0193add060ecc591ca27d029916823911df5d503.zip | |
general: Add typeinfo where needed
Using typeid without including typeinfo first produces an ill-formed program.
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/settings.h | 1 | ||||
| -rw-r--r-- | src/common/settings_enums.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index 384a8ecb6..29dad27fc 100644 --- a/src/common/settings.h +++ b/src/common/settings.h | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | #include <stdexcept> | 12 | #include <stdexcept> |
| 13 | #include <string> | 13 | #include <string> |
| 14 | #include <typeindex> | 14 | #include <typeindex> |
| 15 | #include <typeinfo> | ||
| 15 | #include <utility> | 16 | #include <utility> |
| 16 | #include <vector> | 17 | #include <vector> |
| 17 | 18 | ||
diff --git a/src/common/settings_enums.h b/src/common/settings_enums.h index 2710f136d..f3d76b927 100644 --- a/src/common/settings_enums.h +++ b/src/common/settings_enums.h | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | #include <string> | 7 | #include <string> |
| 8 | #include <type_traits> | 8 | #include <type_traits> |
| 9 | #include <typeindex> | 9 | #include <typeindex> |
| 10 | #include <typeinfo> | ||
| 10 | #include "common/common_types.h" | 11 | #include "common/common_types.h" |
| 11 | 12 | ||
| 12 | namespace Settings { | 13 | namespace Settings { |