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:
parent
db3200b515
commit
de323851b4
10 changed files with 10 additions and 10 deletions
|
@ -131,7 +131,7 @@ public:
|
|||
* Returns the type of this file
|
||||
* @return FileType corresponding to the loaded file
|
||||
*/
|
||||
virtual FileType GetFileType() = 0;
|
||||
virtual FileType GetFileType() const = 0;
|
||||
|
||||
/**
|
||||
* Load the application and return the created Process instance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue