[clang-tidy] use C++ headers
Found with modernize-deprecated-headers Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
14a6df861f
commit
104765367b
@ -16,19 +16,19 @@
|
|||||||
|
|
||||||
#include "pugixml.hpp"
|
#include "pugixml.hpp"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <cassert>
|
||||||
#include <limits.h>
|
#include <climits>
|
||||||
#include <stdio.h>
|
#include <cstdio>
|
||||||
#include <stdlib.h>
|
#include <cstdlib>
|
||||||
#include <string.h>
|
#include <cstring>
|
||||||
|
|
||||||
#ifdef PUGIXML_WCHAR_MODE
|
#ifdef PUGIXML_WCHAR_MODE
|
||||||
# include <wchar.h>
|
# include <cwchar>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef PUGIXML_NO_XPATH
|
#ifndef PUGIXML_NO_XPATH
|
||||||
# include <float.h>
|
# include <cfloat>
|
||||||
# include <math.h>
|
# include <cmath>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef PUGIXML_NO_STL
|
#ifndef PUGIXML_NO_STL
|
||||||
@ -176,7 +176,7 @@ namespace pugi
|
|||||||
typedef unsigned __int32 uint32_t;
|
typedef unsigned __int32 uint32_t;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
# include <stdint.h>
|
# include <cstdint>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Memory allocation
|
// Memory allocation
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user