More clang errors

This commit is contained in:
paulfd 2019-09-16 15:09:55 +02:00
parent f0782bc8a6
commit 5b17f727d8
3 changed files with 5 additions and 0 deletions

View file

@ -28,6 +28,7 @@
#include "LeakDetector.h"
#include "absl/types/span.h"
#include <memory>
#include <array>
template <class Type, unsigned int MaxChannels = sfz::config::numChannels, unsigned int Alignment = SIMDConfig::defaultAlignment>
class AudioBuffer {

View file

@ -29,6 +29,7 @@
#include "LeakDetector.h"
#include "SIMDHelpers.h"
#include <initializer_list>
#include <array>
#include <type_traits>
template <class Type, unsigned int MaxChannels = sfz::config::numChannels>

View file

@ -46,11 +46,14 @@ public:
Buffer()
{
}
Buffer(size_t size)
{
resize(size);
}
bool resize(size_t newSize)
{
if (newSize == 0) {