summaryrefslogtreecommitdiff
path: root/examples/x86_extension/src/x86_extension.cpp
diff options
context:
space:
mode:
authorChristian Blichmann <cblichmann@google.com>2022-10-20 11:35:28 +0200
committerPeter LaFosse <peter@vector35.com>2022-11-10 16:20:26 -0500
commit7763b7ab173151aa01b017e1902e1de716f2a1ee (patch)
tree85d0a872c3dfacceb9b655d90d1888d30f246603 /examples/x86_extension/src/x86_extension.cpp
parenta46fea09fd927e165781d8936aa53e8bea69a78a (diff)
Include C++ standard headers
When compiling in C++ mode, the C++ standard library headers should be included instead of their C counterparts. Drive-by: - Removed include of `json/json.h` from `settings.cpp`, where it was not used
Diffstat (limited to 'examples/x86_extension/src/x86_extension.cpp')
-rw-r--r--examples/x86_extension/src/x86_extension.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/x86_extension/src/x86_extension.cpp b/examples/x86_extension/src/x86_extension.cpp
index 80043287..50552cb0 100644
--- a/examples/x86_extension/src/x86_extension.cpp
+++ b/examples/x86_extension/src/x86_extension.cpp
@@ -1,7 +1,7 @@
#define _CRT_SECURE_NO_WARNINGS
-#include <inttypes.h>
-#include <stdio.h>
-#include <string.h>
+#include <cinttypes>
+#include <cstdio>
+#include <cstring>
#include "binaryninjaapi.h"
#include "asmx86/asmx86.h"