From de323851b41901d71708504ee71c2aac73990bf7 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 5 Dec 2018 17:42:41 -0500 Subject: loaders: Make GetFileType() a const qualified member function No implementations actually modify instance state (and it would be questionable to do that in the first place given the name), so we can make this a const member function. --- src/core/loader/nax.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/loader/nax.h') diff --git a/src/core/loader/nax.h b/src/core/loader/nax.h index b4d93bd01..0a97511b8 100644 --- a/src/core/loader/nax.h +++ b/src/core/loader/nax.h @@ -31,7 +31,7 @@ public: */ static FileType IdentifyType(const FileSys::VirtualFile& file); - FileType GetFileType() override; + FileType GetFileType() const override; ResultStatus Load(Kernel::Process& process) override; -- cgit v1.2.3