2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

general: Add typeinfo where needed

Using typeid without including typeinfo first produces an ill-formed program.
This commit is contained in:
lat9nq 2023-06-10 00:44:03 -04:00
parent 2fba913d0b
commit 0193add060
6 changed files with 6 additions and 0 deletions

View file

@ -12,6 +12,7 @@
#include <stdexcept> #include <stdexcept>
#include <string> #include <string>
#include <typeindex> #include <typeindex>
#include <typeinfo>
#include <utility> #include <utility>
#include <vector> #include <vector>

View file

@ -7,6 +7,7 @@
#include <string> #include <string>
#include <type_traits> #include <type_traits>
#include <typeindex> #include <typeindex>
#include <typeinfo>
#include "common/common_types.h" #include "common/common_types.h"
namespace Settings { namespace Settings {

View file

@ -3,6 +3,7 @@
#include <forward_list> #include <forward_list>
#include <memory> #include <memory>
#include <typeinfo>
#include <QComboBox> #include <QComboBox>
#include "common/common_types.h" #include "common/common_types.h"
#include "common/settings.h" #include "common/settings.h"

View file

@ -7,6 +7,7 @@
#include <iterator> #include <iterator>
#include <string> #include <string>
#include <tuple> #include <tuple>
#include <typeinfo>
#include <utility> #include <utility>
#include <vector> #include <vector>
#include <QBoxLayout> #include <QBoxLayout>

View file

@ -6,6 +6,7 @@
#include <memory> #include <memory>
#include <string> #include <string>
#include <typeindex> #include <typeindex>
#include <typeinfo>
#include <utility> #include <utility>
#include <QString> #include <QString>
#include <QWidget> #include <QWidget>

View file

@ -1,5 +1,6 @@
#include <functional> #include <functional>
#include <limits> #include <limits>
#include <typeinfo>
#include <QAbstractButton> #include <QAbstractButton>
#include <QAbstractSpinBox> #include <QAbstractSpinBox>
#include <QBoxLayout> #include <QBoxLayout>