mrange: mindex: ipack assignment: bug fix

This commit is contained in:
Christian Zimmermann 2024-09-26 19:58:17 +02:00
parent bb915dc8a8
commit d3358d71d6

View file

@ -501,7 +501,7 @@ namespace CNORXZ
template <class FormatT, class... Indices> template <class FormatT, class... Indices>
GMIndex<FormatT,Indices...>& GMIndex<FormatT,Indices...>::operator()(const Sptr<MIndex<Indices...>>& mi) GMIndex<FormatT,Indices...>& GMIndex<FormatT,Indices...>::operator()(const Sptr<MIndex<Indices...>>& mi)
{ {
mIPack = mi.pack(); mIPack = mi->pack();
mkPos(); mkPos();
return *this; return *this;
} }