drop capacity argument from Buffer constructor, since the abstract class cannot (and should not) do anything with it

This commit is contained in:
Paul Davis 2013-11-29 22:25:36 -05:00
parent 146734526c
commit 0c4457fa83

View File

@ -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;
protected:
Buffer(DataType type, size_t capacity)
: _type(type), _capacity(capacity), _size(0), _silent(true)
Buffer(DataType type)
: _type(type), _capacity(0), _size(0), _silent (true)
{}
DataType _type;