goem/segment: indices
should be const
This commit is contained in:
parent
6cf54f6f14
commit
2401cd60cf
@ -34,7 +34,7 @@ namespace cruft::geom {
|
|||||||
|
|
||||||
template <std::size_t ...Indices, typename ...ArgsT>
|
template <std::size_t ...Indices, typename ...ArgsT>
|
||||||
segment<sizeof...(Indices),T>
|
segment<sizeof...(Indices),T>
|
||||||
indices (ArgsT &&...args)
|
indices (ArgsT &&...args) const
|
||||||
{
|
{
|
||||||
return segment<sizeof...(Indices),T> {
|
return segment<sizeof...(Indices),T> {
|
||||||
.a = a.template indices<Indices...> (args...),
|
.a = a.template indices<Indices...> (args...),
|
||||||
|
Loading…
Reference in New Issue
Block a user