Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final"

This commit is contained in:
bunnei 2014-07-04 13:20:40 -04:00
parent 2c62d92551
commit 2d734bb6c5
3 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@
namespace FileSys { namespace FileSys {
/// File system interface to the RomFS archive /// File system interface to the RomFS archive
class Archive_RomFS : public Archive { class Archive_RomFS final : public Archive {
public: public:
Archive_RomFS(const Loader::AppLoader& app_loader); Archive_RomFS(const Loader::AppLoader& app_loader);
~Archive_RomFS(); ~Archive_RomFS();

View file

@ -13,7 +13,7 @@
namespace Loader { namespace Loader {
/// Loads an ELF/AXF file /// Loads an ELF/AXF file
class AppLoader_ELF : public AppLoader { class AppLoader_ELF final : public AppLoader {
public: public:
AppLoader_ELF(const std::string& filename); AppLoader_ELF(const std::string& filename);
~AppLoader_ELF(); ~AppLoader_ELF();

View file

@ -145,7 +145,7 @@ struct ExHeader_Header{
namespace Loader { namespace Loader {
/// Loads an NCCH file (e.g. from a CCI, or the first NCCH in a CXI) /// Loads an NCCH file (e.g. from a CCI, or the first NCCH in a CXI)
class AppLoader_NCCH : public AppLoader { class AppLoader_NCCH final : public AppLoader {
public: public:
AppLoader_NCCH(const std::string& filename); AppLoader_NCCH(const std::string& filename);
~AppLoader_NCCH(); ~AppLoader_NCCH();