Added a message for the static_assert
This commit is contained in:
parent
20c0aeb8dd
commit
a456256b00
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ public:
|
|||
void getBlock(absl::Span<Type> output);
|
||||
private:
|
||||
std::function<Type(Type)> function { [](Type input) { return input; } };
|
||||
static_assert(std::is_arithmetic<Type>::value);
|
||||
static_assert(std::is_arithmetic<Type>::value, "Type should be arithmetic");
|
||||
std::vector<std::pair<int, Type>> events;
|
||||
int maxCapacity { config::defaultSamplesPerBlock };
|
||||
Type currentValue { 0.0 };
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue