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 | 76f5f98b9c26bc234e647add5b6d3adde6dfaab5 (patch) | |
| tree | f2c770433a249595a516ff9234ab63b875250650 /src/core/loader/nax.cpp | |
| parent | 44e35994ce6cc8326d5a50d96227160bada5fcab (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/nax.cpp')
| -rw-r--r-- | src/core/loader/nax.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/nax.cpp b/src/core/loader/nax.cpp index 42f4a777be..a093e3d363 100644 --- a/src/core/loader/nax.cpp +++ b/src/core/loader/nax.cpp @@ -37,7 +37,7 @@ FileType AppLoader_NAX::IdentifyType(const FileSys::VirtualFile& file) { return IdentifyTypeImpl(nax); } -FileType AppLoader_NAX::GetFileType() { +FileType AppLoader_NAX::GetFileType() const { return IdentifyTypeImpl(*nax); } |
