Can't use auto return values

This commit is contained in:
Paul Fd 2020-03-10 14:19:20 +01:00
parent 91495d29d4
commit d70268e1d8

View file

@ -52,7 +52,7 @@ struct PreloadedFileHandle
struct FilePromise struct FilePromise
{ {
auto getData() AudioSpan<const float> getData()
{ {
if (dataReady) if (dataReady)
return AudioSpan<const float>(fileData); return AudioSpan<const float>(fileData);