refactor: use targeted includes (pibase_macros.h, piliterals_string.h) and guard <string> by PIP_HAS_RTTI

This commit is contained in:
2026-08-31 19:12:38 +03:00
parent b6b7a27dcc
commit fa7ff781fe
4 changed files with 8 additions and 4 deletions
+3 -1
View File
@@ -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 {
+1 -1
View File
@@ -37,7 +37,7 @@
//! \~russian Совместимый псевдоним для широких строк на QNX.
typedef std::basic_string<wchar_t> wstring;
#endif
#include "piliterals.h"
#include "piliterals_string.h"
#include "pistringlist.h"
+1 -1
View File
@@ -27,7 +27,7 @@
#define PIFLAGS_H
#include "pibase.h"
#include "pibase_macros.h"
#if !PIP_HAS_RTTI
# include <string>
#endif