summaryrefslogtreecommitdiff
path: root/examples/breakpoint/src
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/breakpoint/src
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/breakpoint/src')
-rw-r--r--examples/breakpoint/src/breakpoint.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/breakpoint/src/breakpoint.cpp b/examples/breakpoint/src/breakpoint.cpp
index 75156e1d..5cddb2a7 100644
--- a/examples/breakpoint/src/breakpoint.cpp
+++ b/examples/breakpoint/src/breakpoint.cpp
@@ -1,4 +1,4 @@
-#include <inttypes.h>
+#include <cinttypes>
#include "binaryninjaapi.h"
using namespace BinaryNinja;
@@ -37,4 +37,4 @@ extern "C"
"Convert to breakpoint", "Fill region with breakpoint instructions.", &write_breakpoint);
return true;
}
-} \ No newline at end of file
+}