mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-14 11:46:34 +02:00
fix const violation
This commit is contained in:
parent
86cbea73c8
commit
8134e2b7f9
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ void EntityTree::readBitstreamToTree(const unsigned char* bitstream,
|
|||
// add entities
|
||||
QHash<EntityItemID, EntityItemPointer>::const_iterator itr;
|
||||
for (itr = _entitiesToAdd.constBegin(); itr != _entitiesToAdd.constEnd(); ++itr) {
|
||||
EntityItemPointer& entityItem = itr.value();
|
||||
const EntityItemPointer& entityItem = itr.value();
|
||||
AddEntityOperator theOperator(getThisPointer(), entityItem);
|
||||
recurseTreeWithOperator(&theOperator);
|
||||
postAddEntity(entityItem);
|
||||
|
|
Loading…
Reference in a new issue