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

View File

@@ -23,14 +23,14 @@
#include "util/BindMethod.hxx"
#include "util/Compiler.h"
#include <cassert>
#ifdef _WIN32
#include <windows.h>
#else
#include <pthread.h>
#endif
#include <assert.h>
class Thread {
typedef BoundMethod<void() noexcept> Function;
const Function f;