mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-18 08:11:21 +00:00
stratosphere: Remove an unneeded constructor
domain_objects is already an array of empty std::shared_ptrs (since std::shared_ptr has a sane default constructor).
This commit is contained in:
parent
22ae5b861c
commit
a28b40866a
@ -14,12 +14,6 @@ class DomainOwner {
|
||||
private:
|
||||
std::array<std::shared_ptr<IServiceObject>, DOMAIN_ID_MAX> domain_objects;
|
||||
public:
|
||||
DomainOwner() {
|
||||
for (unsigned int i = 0; i < DOMAIN_ID_MAX; i++) {
|
||||
this->domain_objects[i].reset();
|
||||
}
|
||||
}
|
||||
|
||||
/* Shared ptrs should auto delete here. */
|
||||
virtual ~DomainOwner() = default;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user