Clean up scene loading

This commit is contained in:
Emil Axelsson
2017-03-14 13:40:18 +01:00
parent 92df9caf5a
commit ca6348194e
9 changed files with 45 additions and 53 deletions

View File

@@ -83,7 +83,7 @@ void SyncEngine::removeSyncable(Syncable* syncable) {
_syncables.erase(
std::remove(_syncables.begin(), _syncables.end(), syncable),
_syncables.end()
);
);
}
void SyncEngine::removeSyncables(const std::vector<Syncable*>& syncables) {