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
src
IcyMetaDataParser.cxxIdle.cxxIdleFlags.cxxLogBackend.cxxLogInit.cxxMapper.cxxMusicBuffer.cxxMusicChunk.cxxMusicPipe.cxxPermission.cxxPlaylistFile.cxxReplayGainGlobal.cxxReplayGainMode.cxxSingleMode.cxxSongLoader.cxxSongUpdate.cxxTagFile.cxxTagStream.cxx
archive
client
command
config
db
decoder
encoder
event
filter
fs
input
java
lib
ls.cxx
mixer
net
output
pcm
player
playlist
queue
song
sticker
storage
system
tag
thread
time
unix
util
test

@ -33,7 +33,7 @@
#include "Ref.hxx"
#include "Exception.hxx"
#include <assert.h>
#include <cassert>
namespace Java {
/**

@ -34,7 +34,7 @@
#include <jni.h>
#include <assert.h>
#include <cassert>
namespace Java {
/**

@ -34,10 +34,9 @@
#include <jni.h>
#include <cassert>
#include <utility>
#include <assert.h>
namespace Java {
/**
* Hold a local reference on a JNI object.