drop capacity argument from Buffer constructor, since the abstract class cannot (and should not) do anything with it
This commit is contained in:
parent
146734526c
commit
0c4457fa83
@ -80,8 +80,8 @@ public:
|
|||||||
virtual void merge_from (const Buffer& src, framecnt_t len, framecnt_t dst_offset = 0, framecnt_t src_offset = 0) = 0;
|
virtual void merge_from (const Buffer& src, framecnt_t len, framecnt_t dst_offset = 0, framecnt_t src_offset = 0) = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Buffer(DataType type, size_t capacity)
|
Buffer(DataType type)
|
||||||
: _type(type), _capacity(capacity), _size(0), _silent(true)
|
: _type(type), _capacity(0), _size(0), _silent (true)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
DataType _type;
|
DataType _type;
|
||||||
|
Loading…
Reference in New Issue
Block a user