@@ -255,7 +255,7 @@ Span<bool> ControlValue::get<Span<bool>>() const
template<>
int32_t ControlValue::get<int32_t>() const
{
- ASSERT(type_ == ControlTypeInteger32 || type_ == ControlTypeInteger64);
+ ASSERT(type_ == ControlTypeInteger32);
return integer32_;
}
@@ -272,7 +272,7 @@ Span<int32_t> ControlValue::get<Span<int32_t>>() const
template<>
int64_t ControlValue::get<int64_t>() const
{
- ASSERT(type_ == ControlTypeInteger32 || type_ == ControlTypeInteger64);
+ ASSERT(type_ == ControlTypeInteger64);
return integer64_;
}