diff --git a/src/sfizz/Buffer.h b/src/sfizz/Buffer.h index 399e04ae..e8a5135a 100644 --- a/src/sfizz/Buffer.h +++ b/src/sfizz/Buffer.h @@ -230,7 +230,7 @@ public: * * @param other */ - Buffer(const Buffer& other) + Buffer(const Buffer& other) { resize(other.size()); std::memcpy(this->data(), other.data(), other.size() * sizeof(value_type)); @@ -241,7 +241,7 @@ public: * * @param other */ - Buffer(Buffer&& other) noexcept + Buffer(Buffer&& other) noexcept : largerSize(other.largerSize), alignedSize(other.alignedSize), normalData(other.normalData), @@ -252,7 +252,7 @@ public: other._clear(); } - Buffer& operator=(const Buffer& other) + Buffer& operator=(const Buffer& other) { if (this != &other) { resize(other.size()); @@ -261,7 +261,7 @@ public: return *this; } - Buffer& operator=(Buffer&& other) noexcept + Buffer& operator=(Buffer&& other) noexcept { if (this != &other) { if (largerSize > 0)