NANDContentLoader: Remove unnecessary trailing semicolons

This commit is contained in:
Lioncash 2016-09-14 19:50:43 -04:00
parent b43a26b90c
commit 5aeedcd27c

View File

@ -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: