Suppress some remaining Index conversion warnings

This commit is contained in:
Christoph Hertzberg
2015-02-17 18:52:39 +01:00
parent 159fb181c2
commit 97a36ecba4
4 changed files with 24 additions and 25 deletions

View File

@@ -296,7 +296,7 @@ class RandomSetter
const Index inner = SetterRowMajor ? col : row;
const Index outerMajor = outer >> OuterPacketBits; // index of the packet/map
const Index outerMinor = outer & OuterPacketMask; // index of the inner vector in the packet
const KeyType key = (KeyType(outerMinor)<<m_keyBitsOffset) | inner;
const KeyType key = internal::convert_index<KeyType>((outerMinor<<m_keyBitsOffset) | inner);
return m_hashmaps[outerMajor][key].value;
}