summaryrefslogtreecommitdiff
path: root/src/util/UTF8.cxx
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-03-12 17:08:53 -0700
committerRosen Penev <rosenp@gmail.com>2020-03-12 19:04:39 -0700
commita2f5a63bbc1a21be672d358a107a3a206c0c5369 (patch)
tree7d2bea6fdbaa44d80db0f8dba2851c2de92d768e /src/util/UTF8.cxx
parent2db8bcc353ce4360a6dbe4c73afcaae1c27fce43 (diff)
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>
Diffstat (limited to 'src/util/UTF8.cxx')
-rw-r--r--src/util/UTF8.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/UTF8.cxx b/src/util/UTF8.cxx
index ba5f0d8f1..9dbcb3260 100644
--- a/src/util/UTF8.cxx
+++ b/src/util/UTF8.cxx
@@ -32,8 +32,7 @@
#include "CharUtil.hxx"
#include <algorithm>
-
-#include <stdint.h>
+#include <cstdint>
/**
* Is this a leading byte that is followed by 1 continuation byte?