summaryrefslogtreecommitdiff
path: root/examples/cmdline_disasm
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/cmdline_disasm
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/cmdline_disasm')
-rw-r--r--examples/cmdline_disasm/src/disasm.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/cmdline_disasm/src/disasm.cpp b/examples/cmdline_disasm/src/disasm.cpp
index 49d4d650..cd119dee 100644
--- a/examples/cmdline_disasm/src/disasm.cpp
+++ b/examples/cmdline_disasm/src/disasm.cpp
@@ -1,7 +1,7 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdint.h>
-#include <stdbool.h>
+#include <cstdio>
+#include <cstdlib>
+#include <cstdint>
+#include <cstdbool>
#include <sys/types.h>
#include <sys/stat.h>