diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/events_ds.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/events_ds.h b/src/events_ds.h index 0a93fe9..5855711 100644 --- a/src/events_ds.h +++ b/src/events_ds.h @@ -147,7 +147,7 @@ template <typename T, typename... Args> T& EventsDS::emplace(channel_t ch, Args&&... args) { // add new event types here - static_assert(std::is_same<T, SampleEvent>::value); + static_assert(std::is_same<T, SampleEvent>::value, "Check event type"); if (std::is_same<T, SampleEvent>::value) { @@ -178,7 +178,7 @@ template <typename T> ContainerRange<std::vector<T>> EventsDS::iterateOver(channel_t ch) { // add new event types here - static_assert(std::is_same<T, SampleEvent>::value); + static_assert(std::is_same<T, SampleEvent>::value, "Check event type"); if (std::is_same<T, SampleEvent>::value) { @@ -191,7 +191,7 @@ template <typename T> T& EventsDS::getSample(EventInfo const& info) { // add new event types here - static_assert(std::is_same<T, SampleEvent>::value); + static_assert(std::is_same<T, SampleEvent>::value, "Check event type"); if (std::is_same<T, SampleEvent>::value) { |