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
@@ -22,10 +22,10 @@
#include "input/InputStream.hxx"
#include "util/StringView.hxx"
#include <cassert>
#include <memory>
#include <stdint.h>
#include <assert.h>
#include <string.h>
struct ApeFooter {
+1 -1
View File
@@ -27,8 +27,8 @@
#include <algorithm>
#include <array>
#include <cassert>
#include <assert.h>
#include <stdlib.h>
TagBuilder::TagBuilder(const Tag &other) noexcept
+2 -1
View File
@@ -23,7 +23,8 @@
#include "util/StringView.hxx"
#include "util/UTF8.hxx"
#include <assert.h>
#include <cassert>
#include <stdlib.h>
gcc_pure
+1 -1
View File
@@ -23,7 +23,7 @@
#include "util/ASCII.hxx"
#include "util/StringView.hxx"
#include <assert.h>
#include <cassert>
template<typename T>
static bool
+2 -1
View File
@@ -21,7 +21,8 @@
#include "util/ASCII.hxx"
#include "util/StringView.hxx"
#include <assert.h>
#include <cassert>
#include <string.h>
TagType
+1 -1
View File
@@ -23,9 +23,9 @@
#include "util/VarSize.hxx"
#include "util/StringView.hxx"
#include <cassert>
#include <limits>
#include <assert.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
+1 -1
View File
@@ -23,7 +23,7 @@
#include "util/ASCII.hxx"
#include "util/NumberParser.hxx"
#include <assert.h>
#include <cassert>
template<typename T>
static bool
+1 -1
View File
@@ -21,7 +21,7 @@
#include "Pool.hxx"
#include "Builder.hxx"
#include <assert.h>
#include <cassert>
void
Tag::Clear() noexcept
+1 -1
View File
@@ -20,7 +20,7 @@
#include "VorbisComment.hxx"
#include "util/StringView.hxx"
#include <assert.h>
#include <cassert>
StringView
GetVorbisCommentValue(StringView entry, StringView name) noexcept