diff options
author | David <25727384+ogniK5377@users.noreply.github.com> | 2020-08-07 14:59:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-07 14:59:01 +0200 |
commit | 53e94c7be89341ad3d4fac033c6495bedcbdec49 (patch) | |
tree | 8c22b7d574b92de9077dc9c0e1d05fa2947b34b5 /src/core/loader/loader.cpp | |
parent | Merge pull request #4483 from lioncash/constexpr-hex (diff) | |
parent | common/concepts: Rename IsBaseOf to DerivedFrom (diff) | |
download | yuzu-53e94c7be89341ad3d4fac033c6495bedcbdec49.tar yuzu-53e94c7be89341ad3d4fac033c6495bedcbdec49.tar.gz yuzu-53e94c7be89341ad3d4fac033c6495bedcbdec49.tar.bz2 yuzu-53e94c7be89341ad3d4fac033c6495bedcbdec49.tar.lz yuzu-53e94c7be89341ad3d4fac033c6495bedcbdec49.tar.xz yuzu-53e94c7be89341ad3d4fac033c6495bedcbdec49.tar.zst yuzu-53e94c7be89341ad3d4fac033c6495bedcbdec49.zip |
Diffstat (limited to 'src/core/loader/loader.cpp')
-rw-r--r-- | src/core/loader/loader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp index b8f8f1448..7c48e55e1 100644 --- a/src/core/loader/loader.cpp +++ b/src/core/loader/loader.cpp @@ -25,7 +25,7 @@ namespace Loader { namespace { -template <Common::IsBaseOf<AppLoader> T> +template <Common::DerivedFrom<AppLoader> T> std::optional<FileType> IdentifyFileLoader(FileSys::VirtualFile file) { const auto file_type = T::IdentifyType(file); if (file_type != FileType::Error) { |