yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

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>