mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-10 07:06:34 +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
1 changed files with 0 additions and 6 deletions
|
@ -14,12 +14,6 @@ class DomainOwner {
|
||||||
private:
|
private:
|
||||||
std::array<std::shared_ptr<IServiceObject>, DOMAIN_ID_MAX> domain_objects;
|
std::array<std::shared_ptr<IServiceObject>, DOMAIN_ID_MAX> domain_objects;
|
||||||
public:
|
public:
|
||||||
DomainOwner() {
|
|
||||||
for (unsigned int i = 0; i < DOMAIN_ID_MAX; i++) {
|
|
||||||
this->domain_objects[i].reset();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Shared ptrs should auto delete here. */
|
/* Shared ptrs should auto delete here. */
|
||||||
virtual ~DomainOwner() = default;
|
virtual ~DomainOwner() = default;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue