fixed a wrong function name in Array.
exposed BinaryHeap::getIndex()
This commit is contained in:
		| @ -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]; | ||||
|  | ||||
| @ -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); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user