1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-05 19:51:45 +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:
Léo Lam 2018-07-02 13:21:10 +02:00 committed by SciresM
parent 22ae5b861c
commit a28b40866a

View file

@ -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;