diff options
author | Lioncash <mathew1800@gmail.com> | 2018-12-05 17:42:41 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-12-05 17:49:34 -0500 |
commit | de323851b41901d71708504ee71c2aac73990bf7 (patch) | |
tree | f2c770433a249595a516ff9234ab63b875250650 /src/core/loader/loader.h | |
parent | db3200b515a0de78f500cd5850306f8960a776c5 (diff) |
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.
Diffstat (limited to 'src/core/loader/loader.h')
-rw-r--r-- | src/core/loader/loader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h index 7686634bf..5390ab9ee 100644 --- a/src/core/loader/loader.h +++ b/src/core/loader/loader.h @@ -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 |