mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01: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
|
||||
// and allocate new proxies accordingly
|
||||
ProxyID maxID = _IDAllocator.getNumAllocatedIndices();
|
||||
if (maxID > _proxies.size()) {
|
||||
if (maxID > (Index) _proxies.size()) {
|
||||
_proxies.resize(maxID + 100); // allocate the maxId and more
|
||||
}
|
||||
// Now we know for sure that we have enough items in the array to
|
||||
|
|
|
@ -51,7 +51,7 @@ public:
|
|||
void clear();
|
||||
private:
|
||||
|
||||
virtual void processTransactionFrame(const Transaction& transaction);
|
||||
void processTransactionFrame(const Transaction& transaction) override;
|
||||
void processResets(const Transaction::Resets& transactions);
|
||||
void processRemoves(const Transaction::Removes& transactions);
|
||||
void processUpdates(const Transaction::Updates& transactions);
|
||||
|
|
Loading…
Reference in a new issue