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:
@@ -28,9 +28,9 @@
|
||||
#include "util/PrintException.hxx"
|
||||
#include "util/UriExtract.hxx"
|
||||
|
||||
#include <cassert>
|
||||
#include <stdexcept>
|
||||
|
||||
#include <assert.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
@@ -34,9 +34,9 @@
|
||||
#include "Log.hxx"
|
||||
#include "LogBackend.hxx"
|
||||
|
||||
#include <cassert>
|
||||
#include <stdexcept>
|
||||
|
||||
#include <assert.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
@@ -25,7 +25,8 @@
|
||||
#include "config/Block.hxx"
|
||||
#include "util/PrintException.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
const FilterPlugin *
|
||||
|
@@ -33,9 +33,9 @@
|
||||
#include "util/StringView.hxx"
|
||||
#include "util/PrintException.hxx"
|
||||
|
||||
#include <cassert>
|
||||
#include <stdexcept>
|
||||
|
||||
#include <assert.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
@@ -36,9 +36,9 @@
|
||||
#include "Log.hxx"
|
||||
#include "LogBackend.hxx"
|
||||
|
||||
#include <cassert>
|
||||
#include <stdexcept>
|
||||
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
@@ -33,9 +33,9 @@
|
||||
#include "Log.hxx"
|
||||
#include "LogBackend.hxx"
|
||||
|
||||
#include <cassert>
|
||||
#include <stdexcept>
|
||||
|
||||
#include <assert.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
@@ -33,10 +33,10 @@
|
||||
#include "util/RuntimeError.hxx"
|
||||
#include "util/PrintException.hxx"
|
||||
|
||||
#include <cassert>
|
||||
#include <memory>
|
||||
#include <stdexcept>
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
@@ -30,9 +30,9 @@
|
||||
#include "util/ScopeExit.hxx"
|
||||
#include "util/PrintException.hxx"
|
||||
|
||||
#include <cassert>
|
||||
#include <memory>
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
|
@@ -28,9 +28,9 @@
|
||||
#include "tag/Builder.hxx"
|
||||
#include "util/PrintException.hxx"
|
||||
|
||||
#include <cassert>
|
||||
#include <memory>
|
||||
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
|
||||
static uint8_t zero[256];
|
||||
|
Reference in New Issue
Block a user