mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-29 12:32:47 +00:00
NANDContentLoader: Remove unnecessary trailing semicolons
This commit is contained in:
parent
b43a26b90c
commit
5aeedcd27c
@ -26,17 +26,16 @@ class CNANDContentData
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~CNANDContentData() = 0;
|
virtual ~CNANDContentData() = 0;
|
||||||
virtual void Open(){};
|
virtual void Open() {}
|
||||||
virtual std::vector<u8> Get() = 0;
|
virtual std::vector<u8> Get() = 0;
|
||||||
virtual bool GetRange(u32 start, u32 size, u8* buffer) = 0;
|
virtual bool GetRange(u32 start, u32 size, u8* buffer) = 0;
|
||||||
virtual void Close(){};
|
virtual void Close() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
class CNANDContentDataFile final : public CNANDContentData
|
class CNANDContentDataFile final : public CNANDContentData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit CNANDContentDataFile(const std::string& filename) : m_filename(filename){};
|
explicit CNANDContentDataFile(const std::string& filename) : m_filename(filename) {}
|
||||||
|
|
||||||
void Open() override;
|
void Open() override;
|
||||||
std::vector<u8> Get() override;
|
std::vector<u8> Get() override;
|
||||||
bool GetRange(u32 start, u32 size, u8* buffer) override;
|
bool GetRange(u32 start, u32 size, u8* buffer) override;
|
||||||
@ -51,9 +50,8 @@ private:
|
|||||||
class CNANDContentDataBuffer final : public CNANDContentData
|
class CNANDContentDataBuffer final : public CNANDContentData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit CNANDContentDataBuffer(const std::vector<u8>& buffer) : m_buffer(buffer){};
|
explicit CNANDContentDataBuffer(const std::vector<u8>& buffer) : m_buffer(buffer) {}
|
||||||
|
std::vector<u8> Get() override { return m_buffer; }
|
||||||
std::vector<u8> Get() override { return m_buffer; };
|
|
||||||
bool GetRange(u32 start, u32 size, u8* buffer) override;
|
bool GetRange(u32 start, u32 size, u8* buffer) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user