fixed a wrong function name in Array.

exposed BinaryHeap::getIndex()
This commit is contained in:
hyung-hwan 2015-03-07 04:03:54 +00:00
parent 5f517f8316
commit 09bd5bb54a
2 changed files with 7 additions and 1 deletions

View File

@ -244,7 +244,7 @@ public:
return this->buffer[index];
}
T& getValueAtgetValueAt (qse_size_t index)
T& getValueAt (qse_size_t index)
{
QSE_ASSERT (index < this->count);
return this->buffer[index];

View File

@ -129,9 +129,15 @@ public:
using ParentType::isEmpty;
using ParentType::getSize;
using ParentType::getCapacity;
using ParentType::getIndex;
using ParentType::clear;
using ParentType::compact;
const T& operator[] (qse_size_t index) const
{
return ParentType::getValueAt (index);
}
const T& getValueAt (qse_size_t index) const
{
return ParentType::getValueAt (index);