shared_from_this requires public inheritance

This commit is contained in:
Michael Scire 2019-12-06 00:59:56 -08:00
parent f13d2cb6c9
commit 6f926ea72b

View File

@ -101,7 +101,7 @@ namespace ams::fssrv::impl {
};
};
class FileSystemInterfaceAdapter final : std::enable_shared_from_this<FileSystemInterfaceAdapter>, public ams::sf::IServiceObject {
class FileSystemInterfaceAdapter final : public std::enable_shared_from_this<FileSystemInterfaceAdapter>, public ams::sf::IServiceObject {
NON_COPYABLE(FileSystemInterfaceAdapter);
public:
enum class CommandId {