From 8e29e70a61954c75cf5ce6baa600bd6d6d12e900 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Mon, 2 Jul 2018 13:21:10 +0200 Subject: [PATCH] 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). --- include/stratosphere/domainowner.hpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/stratosphere/domainowner.hpp b/include/stratosphere/domainowner.hpp index 882db5c3..8f990ea4 100644 --- a/include/stratosphere/domainowner.hpp +++ b/include/stratosphere/domainowner.hpp @@ -14,12 +14,6 @@ class DomainOwner { private: std::array, 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;