Assert on getting index only for active strings.

This commit is contained in:
Bartosz Taudul 2019-10-01 00:40:58 +02:00
parent acfcfb09ce
commit 4964aa9547

View File

@ -60,6 +60,7 @@ public:
{
uint32_t idx = 0;
memcpy( &idx, m_idx, 3 );
assert( idx != 0 );
return idx - 1;
}