summaryrefslogtreecommitdiff
path: root/src/unix
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/unix
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/unix')
-rw-r--r--src/unix/PidFile.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/unix/PidFile.hxx b/src/unix/PidFile.hxx
index 8666b7745..1118ba2e4 100644
--- a/src/unix/PidFile.hxx
+++ b/src/unix/PidFile.hxx
@@ -24,7 +24,8 @@
#include "fs/AllocatedPath.hxx"
#include "system/Error.hxx"
-#include <assert.h>
+#include <cassert>
+
#include <string.h>
#include <unistd.h>
#include <stdlib.h>