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.
This commit is contained in:
Lioncash 2018-12-05 17:42:41 -05:00
parent 44e35994ce
commit 76f5f98b9c
10 changed files with 10 additions and 10 deletions

View file

@ -31,7 +31,7 @@ public:
*/
static FileType IdentifyType(const FileSys::VirtualFile& file);
FileType GetFileType() override {
FileType GetFileType() const override {
return IdentifyType(file);
}