remove unused argument

This commit is contained in:
Andrew Meadows 2019-11-13 15:29:14 -08:00
parent b5ca93a019
commit dbeea4038d
2 changed files with 3 additions and 4 deletions

View file

@ -260,8 +260,7 @@ void EntityTreeRenderer::clearDomainAndNonOwnedEntities() {
_renderablesToUpdate = savedRenderables; _renderablesToUpdate = savedRenderables;
_entitiesInScene = savedEntities; _entitiesInScene = savedEntities;
auto sessionUUID = getTree()->getMyAvatarSessionUUID(); if (_layeredZones.clearDomainAndNonOwnedZones()) {
if (_layeredZones.clearDomainAndNonOwnedZones(sessionUUID)) {
applyLayeredZones(); applyLayeredZones();
} }
@ -1215,7 +1214,7 @@ void EntityTreeRenderer::updateZone(const EntityItemID& id) {
} }
} }
bool EntityTreeRenderer::LayeredZones::clearDomainAndNonOwnedZones(const QUuid& sessionUUID) { bool EntityTreeRenderer::LayeredZones::clearDomainAndNonOwnedZones() {
bool zonesChanged = false; bool zonesChanged = false;
auto it = begin(); auto it = begin();

View file

@ -230,7 +230,7 @@ private:
class LayeredZones : public std::vector<LayeredZone> { class LayeredZones : public std::vector<LayeredZone> {
public: public:
bool clearDomainAndNonOwnedZones(const QUuid& sessionUUID); bool clearDomainAndNonOwnedZones();
void sort() { std::sort(begin(), end(), std::less<LayeredZone>()); } void sort() { std::sort(begin(), end(), std::less<LayeredZone>()); }
bool equals(const LayeredZones& other) const; bool equals(const LayeredZones& other) const;