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

@@ -30,10 +30,9 @@
#include "Delegate.hxx"
#include "Parser.hxx"
#include <cassert>
#include <utility>
#include <assert.h>
void
DelegateCurlResponseHandler::OnHeaders(unsigned status,
std::multimap<std::string, std::string> &&headers)

View File

@@ -35,7 +35,7 @@
#include "util/RuntimeError.hxx"
#include "util/Domain.hxx"
#include <assert.h>
#include <cassert>
static constexpr Domain curlm_domain("curlm");

View File

@@ -32,7 +32,7 @@
#include "event/Call.hxx"
#include "thread/Mutex.hxx"
#include <assert.h>
#include <cassert>
Mutex CurlInit::mutex;
unsigned CurlInit::ref;

View File

@@ -40,8 +40,8 @@
#include <curl/curl.h>
#include <algorithm>
#include <cassert>
#include <assert.h>
#include <string.h>
CurlRequest::CurlRequest(CurlGlobal &_global,