mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 19:29:47 +02:00
fix warnings and comments
This commit is contained in:
parent
7f8948fcce
commit
727ac91fb3
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ void Space::processTransactionFrame(const Transaction& transaction) {
|
||||||
// Here we should be able to check the value of last ProxyID allocated
|
// Here we should be able to check the value of last ProxyID allocated
|
||||||
// and allocate new proxies accordingly
|
// and allocate new proxies accordingly
|
||||||
ProxyID maxID = _IDAllocator.getNumAllocatedIndices();
|
ProxyID maxID = _IDAllocator.getNumAllocatedIndices();
|
||||||
if (maxID > _proxies.size()) {
|
if (maxID > (Index) _proxies.size()) {
|
||||||
_proxies.resize(maxID + 100); // allocate the maxId and more
|
_proxies.resize(maxID + 100); // allocate the maxId and more
|
||||||
}
|
}
|
||||||
// Now we know for sure that we have enough items in the array to
|
// Now we know for sure that we have enough items in the array to
|
||||||
|
|
|
@ -51,7 +51,7 @@ public:
|
||||||
void clear();
|
void clear();
|
||||||
private:
|
private:
|
||||||
|
|
||||||
virtual void processTransactionFrame(const Transaction& transaction);
|
void processTransactionFrame(const Transaction& transaction) override;
|
||||||
void processResets(const Transaction::Resets& transactions);
|
void processResets(const Transaction::Resets& transactions);
|
||||||
void processRemoves(const Transaction::Removes& transactions);
|
void processRemoves(const Transaction::Removes& transactions);
|
||||||
void processUpdates(const Transaction::Updates& transactions);
|
void processUpdates(const Transaction::Updates& transactions);
|
||||||
|
|
Loading…
Reference in a new issue