diff --git a/src/sfizz/Buffer.h b/src/sfizz/Buffer.h index 81df042f..6a899da2 100644 --- a/src/sfizz/Buffer.h +++ b/src/sfizz/Buffer.h @@ -186,6 +186,7 @@ public: */ Buffer(const Buffer& other) { + counter().newBuffer(0); if (resize(other.size())) { std::memcpy(this->data(), other.data(), other.size() * sizeof(value_type)); }