mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
general: Add typeinfo where needed
Using typeid without including typeinfo first produces an ill-formed program.
This commit is contained in:
parent
2fba913d0b
commit
0193add060
6 changed files with 6 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include <typeindex>
|
||||
#include <typeinfo>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include <string>
|
||||
#include <type_traits>
|
||||
#include <typeindex>
|
||||
#include <typeinfo>
|
||||
#include "common/common_types.h"
|
||||
|
||||
namespace Settings {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include <forward_list>
|
||||
#include <memory>
|
||||
#include <typeinfo>
|
||||
#include <QComboBox>
|
||||
#include "common/common_types.h"
|
||||
#include "common/settings.h"
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include <iterator>
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
#include <typeinfo>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
#include <QBoxLayout>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <memory>
|
||||
#include <string>
|
||||
#include <typeindex>
|
||||
#include <typeinfo>
|
||||
#include <utility>
|
||||
#include <QString>
|
||||
#include <QWidget>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include <functional>
|
||||
#include <limits>
|
||||
#include <typeinfo>
|
||||
#include <QAbstractButton>
|
||||
#include <QAbstractSpinBox>
|
||||
#include <QBoxLayout>
|
||||
|
|
Loading…
Reference in a new issue