[FEATURE][EXPERIMENTAL] Конструктор копирования у OptionalView

This commit is contained in:
Gravit 2020-09-12 16:49:54 +07:00
parent 8b8ef665ef
commit 5835676b7c
No known key found for this signature in database
GPG key ID: 98A079490768CCE5

View file

@ -111,4 +111,10 @@ public OptionalView(ClientProfile profile)
if(f.mark) enable(f);
}
}
public OptionalView(OptionalView view)
{
this.enabled = new HashSet<>(view.enabled);
this.dependenciesCountMap = new HashMap<>(view.dependenciesCountMap);
this.all = view.all;
}
}