coord/base: take const-ref for supplementary index query
This disambiguates type resolution of literals and other temporaries.
This commit is contained in:
parent
0d9374d3dd
commit
6ae38d7f9e
@ -268,7 +268,7 @@ namespace cruft::coord {
|
|||||||
>
|
>
|
||||||
>
|
>
|
||||||
constexpr auto
|
constexpr auto
|
||||||
indices (U&& ...supplementary) const
|
indices (U const &...supplementary) const
|
||||||
{
|
{
|
||||||
static_assert (
|
static_assert (
|
||||||
cruft::max (Indices...) < S + sizeof...(supplementary),
|
cruft::max (Indices...) < S + sizeof...(supplementary),
|
||||||
|
Loading…
Reference in New Issue
Block a user