mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-17 17:36:44 +00:00
ncm: fix destructor availability
This commit is contained in:
parent
3dc51e164f
commit
155f158197
2 changed files with 7 additions and 4 deletions
|
@ -40,7 +40,6 @@ namespace ams::ncm {
|
|||
}
|
||||
public:
|
||||
HostContentStorageImpl(RegisteredHostContent *registered_content) : registered_content(registered_content), disabled(false) { /* ... */ }
|
||||
~HostContentStorageImpl();
|
||||
public:
|
||||
/* Actual commands. */
|
||||
virtual Result GeneratePlaceHolderId(sf::Out<PlaceHolderId> out);
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include <stratosphere.hpp>
|
||||
|
||||
namespace ams::ncm {
|
||||
|
||||
|
||||
class RegisteredHostContent::RegisteredPath : public util::IntrusiveListBaseNode<RegisteredPath> {
|
||||
NON_COPYABLE(RegisteredPath);
|
||||
NON_MOVEABLE(RegisteredPath);
|
||||
|
@ -24,8 +24,8 @@ namespace ams::ncm {
|
|||
ContentId content_id;
|
||||
Path path;
|
||||
public:
|
||||
RegisteredPath(const ncm::ContentId &content_id, const Path &p) : content_id(content_id), path(p) {
|
||||
/* ... */
|
||||
RegisteredPath(const ncm::ContentId &content_id, const Path &p) : content_id(content_id), path(p) {
|
||||
/* ... */
|
||||
}
|
||||
|
||||
ncm::ContentId GetContentId() const {
|
||||
|
@ -41,6 +41,10 @@ namespace ams::ncm {
|
|||
}
|
||||
};
|
||||
|
||||
RegisteredHostContent::~RegisteredHostContent() {
|
||||
/* ... */
|
||||
}
|
||||
|
||||
Result RegisteredHostContent::RegisterPath(const ncm::ContentId &content_id, const ncm::Path &path) {
|
||||
std::scoped_lock lk(this->mutex);
|
||||
|
||||
|
|
Loading…
Reference in a new issue