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:
@@ -29,7 +29,7 @@
|
||||
#include <adplug/adplug.h>
|
||||
#include <adplug/emuopl.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
static constexpr Domain adplug_domain("adplug");
|
||||
|
||||
|
@@ -29,9 +29,9 @@
|
||||
#include <audiofile.h>
|
||||
#include <af_vfs.h>
|
||||
|
||||
#include <cassert>
|
||||
#include <exception>
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
@@ -30,9 +30,9 @@
|
||||
|
||||
#include <neaacdec.h>
|
||||
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
static const unsigned adts_sample_rates[] =
|
||||
|
@@ -52,7 +52,8 @@ extern "C" {
|
||||
#include <libavutil/frame.h>
|
||||
}
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
/**
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include "util/RuntimeError.hxx"
|
||||
#include "util/ConstBuffer.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
void
|
||||
FlacPcmImport::Open(unsigned sample_rate, unsigned bits_per_sample,
|
||||
|
@@ -22,10 +22,9 @@
|
||||
|
||||
#include <FLAC/stream_decoder.h>
|
||||
|
||||
#include <utility>
|
||||
#include <cassert>
|
||||
#include <stdexcept>
|
||||
|
||||
#include <assert.h>
|
||||
#include <utility>
|
||||
|
||||
/**
|
||||
* OO wrapper for a FLAC__StreamDecoder.
|
||||
|
@@ -37,7 +37,8 @@
|
||||
|
||||
#include <gme/gme.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@@ -39,7 +39,8 @@
|
||||
#include <id3tag.h>
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
@@ -29,7 +29,7 @@
|
||||
|
||||
#include <mikmod.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
static constexpr Domain mikmod_domain("mikmod");
|
||||
|
||||
|
@@ -29,8 +29,7 @@
|
||||
|
||||
#include <libmodplug/modplug.h>
|
||||
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
static constexpr Domain modplug_domain("modplug");
|
||||
|
||||
|
@@ -31,13 +31,11 @@
|
||||
#include <wavpack/wavpack.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
#include <iterator>
|
||||
#include <memory>
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#define ERRORLEN 80
|
||||
|
||||
#ifdef OPEN_DSD_AS_PCM
|
||||
|
Reference in New Issue
Block a user