refactor: use targeted includes (pibase_macros.h, piliterals_string.h) and guard <string> by PIP_HAS_RTTI
This commit is contained in:
@@ -36,7 +36,9 @@
|
||||
|
||||
#include "picout.h"
|
||||
|
||||
#include <string>
|
||||
#if !PIP_HAS_RTTI
|
||||
# include <string>
|
||||
#endif
|
||||
|
||||
|
||||
//! \addtogroup Containers
|
||||
|
||||
@@ -25,7 +25,9 @@
|
||||
#include "pistring.h"
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
#if !PIP_HAS_RTTI
|
||||
# include <string>
|
||||
#endif
|
||||
|
||||
|
||||
class PIP_EXPORT PIIntrospectionContainers {
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
//! \~russian Совместимый псевдоним для широких строк на QNX.
|
||||
typedef std::basic_string<wchar_t> wstring;
|
||||
#endif
|
||||
#include "piliterals.h"
|
||||
#include "piliterals_string.h"
|
||||
#include "pistringlist.h"
|
||||
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#define PIFLAGS_H
|
||||
|
||||
|
||||
#include "pibase.h"
|
||||
#include "pibase_macros.h"
|
||||
#if !PIP_HAS_RTTI
|
||||
# include <string>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user