diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-03-12 15:20:59 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2020-03-12 15:25:38 -0700 |
commit | ab9f5d2067e1f8f22cb5009015ec059f4a1a7431 (patch) | |
tree | 29c6f69c06e70d4e9a26dd137d233ae776206d83 /src/thread | |
parent | a718086ffb989b7c56afc51eb3380f6568ef929e (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/thread')
-rw-r--r-- | src/thread/Thread.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread/Thread.hxx b/src/thread/Thread.hxx index 8a6ad2908..5501ddc86 100644 --- a/src/thread/Thread.hxx +++ b/src/thread/Thread.hxx @@ -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; |