mirror of
https://github.com/AxioDL/nod.git
synced 2025-12-09 21:48:01 +00:00
prep for LogVisor integration
This commit is contained in:
@@ -150,7 +150,9 @@ protected:
|
||||
Header m_header;
|
||||
std::vector<std::unique_ptr<IPartition>> m_partitions;
|
||||
public:
|
||||
DiscBase(std::unique_ptr<IDiscIO>&& dio);
|
||||
DiscBase(std::unique_ptr<IDiscIO>&& dio)
|
||||
: m_discIO(std::move(dio)), m_header(*m_discIO.get()) {}
|
||||
|
||||
virtual bool commit()=0;
|
||||
inline const Header& getHeader() const {return m_header;}
|
||||
inline const IDiscIO& getDiscIO() const {return *m_discIO.get();}
|
||||
|
||||
Reference in New Issue
Block a user