Skip to content
Snippets Groups Projects
Commit c6647937 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Remove useless statements

parent 46b97a4b
No related branches found
No related tags found
1 merge request!11Feature/mpi
......@@ -95,13 +95,10 @@ class ItemValue
}
template <typename IndexType>
DataType& operator[](const IndexType& i) const noexcept(NO_ASSERT)
DataType& operator[](const IndexType&) const noexcept(NO_ASSERT)
{
static_assert(std::is_same_v<IndexType,ItemId>,
"ItemValue must be indexed by ItemId");
static_assert(not std::is_const_v<DataType>,
"Cannot modify ItemValue of const");
return m_values[i];
}
PASTIS_INLINE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment