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 <string>
#include <typeindex>
#include <typeinfo>
#include <utility>
#include <vector>

View File

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

View File

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

View File

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

View File

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

View File

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