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>
This commit is contained in:
Rosen Penev
2020-03-12 15:20:59 -07:00
parent a718086ffb
commit ab9f5d2067
246 changed files with 320 additions and 317 deletions
+1 -1
View File
@@ -35,7 +35,7 @@
#include "fs/io/BufferedReader.hxx"
#include "Log.hxx"
#include <assert.h>
#include <cassert>
static constexpr char CONF_COMMENT = '#';
+2 -1
View File
@@ -24,7 +24,8 @@
#include "fs/StandardDirectory.hxx"
#include "util/RuntimeError.hxx"
#include <assert.h>
#include <cassert>
#include <string.h>
#ifndef _WIN32