summaryrefslogtreecommitdiff
path: root/examples/triage/headers.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/triage/headers.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/triage/headers.cpp')
-rw-r--r--examples/triage/headers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/triage/headers.cpp b/examples/triage/headers.cpp
index 1bd9d732..40775b61 100644
--- a/examples/triage/headers.cpp
+++ b/examples/triage/headers.cpp
@@ -1,4 +1,4 @@
-#include <string.h>
+#include <cstring>
#include <time.h>
#include "headers.h"
#include "fontsettings.h"