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:
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "pcm/AudioFormat.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
template<typename T> struct ConstBuffer;
|
||||
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#include "Prepared.hxx"
|
||||
#include "util/ConstBuffer.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
class FilterObserver::PreparedProxy final : public PreparedFilter {
|
||||
FilterObserver &observer;
|
||||
|
@@ -24,10 +24,9 @@
|
||||
#include "pcm/AudioFormat.hxx"
|
||||
#include "util/ConstBuffer.hxx"
|
||||
|
||||
#include <cassert>
|
||||
#include <memory>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
class AutoConvertFilter final : public Filter {
|
||||
/**
|
||||
* The underlying filter.
|
||||
|
@@ -25,10 +25,9 @@
|
||||
#include "util/StringBuffer.hxx"
|
||||
#include "util/RuntimeError.hxx"
|
||||
|
||||
#include <memory>
|
||||
#include <cassert>
|
||||
#include <list>
|
||||
|
||||
#include <assert.h>
|
||||
#include <memory>
|
||||
|
||||
class ChainFilter final : public Filter {
|
||||
struct Child {
|
||||
|
@@ -24,10 +24,9 @@
|
||||
#include "pcm/Convert.hxx"
|
||||
#include "util/ConstBuffer.hxx"
|
||||
|
||||
#include <cassert>
|
||||
#include <memory>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
class ConvertFilter final : public Filter {
|
||||
/**
|
||||
* The input audio format; PCM data is passed to the filter()
|
||||
|
@@ -29,10 +29,9 @@
|
||||
#include "util/Domain.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <cassert>
|
||||
#include <exception>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
static constexpr Domain replay_gain_domain("replay_gain");
|
||||
|
||||
class ReplayGainFilter final : public Filter {
|
||||
|
Reference in New Issue
Block a user