Commit f2b243a6 authored by Carsten Gräser's avatar Carsten Gräser

[cleanup] Fix index type to std::size_t

There's no need to have this as a template parameter.
std::size_t works perfectly here.
parent 43dd7bf9
Pipeline #9976 passed with stage
in 5 minutes and 53 seconds
......@@ -111,8 +111,7 @@ namespace Imp {
index_(index)
{}
template<class P>
std::size_t operator[](const P& position) const
std::size_t operator[](std::size_t position) const
{
if (position<size())
return index_[position+offset];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment