Magic by @jpcima to solve the clang segfault
This commit is contained in:
parent
8ba825d3dd
commit
b44b4efad3
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ protected:
|
|||
Type currentValue { 0.0 };
|
||||
private:
|
||||
static_assert(std::is_arithmetic<Type>::value, "Type should be arithmetic");
|
||||
std::function<Type(Type)> function { [](Type input) { return input; } };
|
||||
std::function<Type(Type)> function { [](Type input) -> Type { return input; } };
|
||||
int maxCapacity { config::defaultSamplesPerBlock };
|
||||
void prepareEvents(int blockLength);
|
||||
bool resetEvents { false };
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue