shared_from_this requires public inheritance

This commit is contained in:
Michael Scire 2019-12-06 00:59:56 -08:00 committed by SciresM
parent 746dbfe018
commit b08a97d883

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 {