mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-09 14:49:53 +08:00
#755 warning about constexpr in array.h
This commit is contained in:
parent
01d96609cf
commit
a4879c8908
@ -134,7 +134,9 @@ namespace etl
|
||||
#endif
|
||||
const_reference at(size_t i) const
|
||||
{
|
||||
#if defined(ETL_THROW_EXCEPTIONS)
|
||||
ETL_ASSERT(i < SIZE, ETL_ERROR(array_out_of_range));
|
||||
#endif
|
||||
|
||||
return _buffer[i];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user