(svn r10390) -Fix: constness

This commit is contained in:
KUDr 2007-06-29 22:39:50 +00:00
parent 65ba91d1c9
commit 297248c83f

View File

@ -64,8 +64,8 @@ public:
/** indexed access (const) */
FORCEINLINE const Titem& operator [] (int idx) const
{
CSubArray& sa = m_a[idx / Tblock_size];
Titem& item = sa [idx % Tblock_size];
const CSubArray& sa = m_a[idx / Tblock_size];
const Titem& item = sa [idx % Tblock_size];
return item;
}
};