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