summaryrefslogtreecommitdiff
path: root/src/LogInit.cxx
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-03-12 15:20:59 -0700
committerRosen Penev <rosenp@gmail.com>2020-03-12 15:25:38 -0700
commitab9f5d2067e1f8f22cb5009015ec059f4a1a7431 (patch)
tree29c6f69c06e70d4e9a26dd137d233ae776206d83 /src/LogInit.cxx
parenta718086ffb989b7c56afc51eb3380f6568ef929e (diff)
replace assert.h with cassert
The former was deprecated with C++14. According to the C++11 and C++17 standards, both files are identical. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/LogInit.cxx')
-rw-r--r--src/LogInit.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/LogInit.cxx b/src/LogInit.cxx
index 629716f51..eb2bcc3f0 100644
--- a/src/LogInit.cxx
+++ b/src/LogInit.cxx
@@ -30,11 +30,12 @@
#include "util/RuntimeError.hxx"
#include "system/Error.hxx"
+#include <cassert>
+
#ifdef ENABLE_SYSTEMD_DAEMON
#include <systemd/sd-daemon.h>
#endif
-#include <assert.h>
#include <string.h>
#include <fcntl.h>
#include <stdio.h>