mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-23 04:13:40 +00:00
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:
@@ -22,7 +22,7 @@ public:
|
||||
*/
|
||||
static FileType IdentifyType(const FileSys::VirtualFile& file);
|
||||
|
||||
FileType GetFileType() override {
|
||||
FileType GetFileType() const override {
|
||||
return IdentifyType(file);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user