coord/base: take const-ref for supplementary index query

This disambiguates type resolution of literals and other temporaries.
This commit is contained in:
Danny Robson 2019-03-22 15:09:19 +11:00
parent 0d9374d3dd
commit 6ae38d7f9e

View File

@ -268,7 +268,7 @@ namespace cruft::coord {
>
>
constexpr auto
indices (U&& ...supplementary) const
indices (U const &...supplementary) const
{
static_assert (
cruft::max (Indices...) < S + sizeof...(supplementary),