fix warnings and comments

This commit is contained in:
samcake 2018-03-14 16:11:41 -07:00
parent 7f8948fcce
commit 727ac91fb3
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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);