ncm: fix destructor availability

This commit is contained in:
Michael Scire 2021-09-19 11:00:57 -07:00
parent 3dc51e164f
commit 155f158197
2 changed files with 7 additions and 4 deletions

View file

@ -40,7 +40,6 @@ namespace ams::ncm {
} }
public: public:
HostContentStorageImpl(RegisteredHostContent *registered_content) : registered_content(registered_content), disabled(false) { /* ... */ } HostContentStorageImpl(RegisteredHostContent *registered_content) : registered_content(registered_content), disabled(false) { /* ... */ }
~HostContentStorageImpl();
public: public:
/* Actual commands. */ /* Actual commands. */
virtual Result GeneratePlaceHolderId(sf::Out<PlaceHolderId> out); virtual Result GeneratePlaceHolderId(sf::Out<PlaceHolderId> out);

View file

@ -41,6 +41,10 @@ namespace ams::ncm {
} }
}; };
RegisteredHostContent::~RegisteredHostContent() {
/* ... */
}
Result RegisteredHostContent::RegisterPath(const ncm::ContentId &content_id, const ncm::Path &path) { Result RegisteredHostContent::RegisterPath(const ncm::ContentId &content_id, const ncm::Path &path) {
std::scoped_lock lk(this->mutex); std::scoped_lock lk(this->mutex);