replace stdint.h with cstdint
The former is deprecated by C++14. The standard says they are the same: The header defines all types and macros the same as the C standard library header<stdint.h>. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
+1
-2
@@ -30,8 +30,7 @@
|
||||
#endif
|
||||
|
||||
#include <chrono>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
class FileInfo {
|
||||
friend bool GetFileInfo(Path path, FileInfo &info,
|
||||
|
||||
@@ -31,9 +31,9 @@
|
||||
#include "Reader.hxx"
|
||||
#include "util/TextFile.hxx"
|
||||
|
||||
#include <cstdint>
|
||||
#include <stdexcept>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
bool
|
||||
|
||||
@@ -39,8 +39,7 @@
|
||||
#endif
|
||||
|
||||
#include <cassert>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "Reader.hxx"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
/**
|
||||
* A filter that allows the caller to peek the first few bytes without
|
||||
|
||||
Reference in New Issue
Block a user