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;
_entitiesInScene = savedEntities;
auto sessionUUID = getTree()->getMyAvatarSessionUUID();
if (_layeredZones.clearDomainAndNonOwnedZones(sessionUUID)) {
if (_layeredZones.clearDomainAndNonOwnedZones()) {
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;
auto it = begin();

View file

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