mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Fix compiler error in pnUtArray.
This commit is contained in:
@ -829,8 +829,8 @@ template<class T, class C>
|
||||
void TArray<T,C>::Copy (unsigned destIndex, unsigned sourceIndex, unsigned count) {
|
||||
|
||||
// Copy the data to the destination
|
||||
ASSERT(destIndex + count <= m_count);
|
||||
ASSERT(sourceIndex + count <= m_count);
|
||||
ASSERT(destIndex + count <= this->m_count);
|
||||
ASSERT(sourceIndex + count <= this->m_count);
|
||||
C::Assign(this->m_data + destIndex, this->m_data + sourceIndex, count);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user