| 511 | #endif |
| 512 | |
| 513 | IActorIteratorPtr CActorSystem::CreateActorIterator() |
| 514 | { |
| 515 | if (m_iteratorPool.empty()) |
| 516 | { |
| 517 | return new CActorIterator(this); |
| 518 | } |
| 519 | else |
| 520 | { |
| 521 | CActorIterator* pIter = m_iteratorPool.back(); |
| 522 | m_iteratorPool.pop_back(); |
| 523 | new(pIter) CActorIterator(this); |
| 524 | return pIter; |
| 525 | } |
| 526 | } |
| 527 | |
| 528 | void CActorSystem::ActorSystemErrorMessage(const char* fileName, const char* errorInfo, bool displayErrorDialog) |
| 529 | { |