Merge pull request #3262 from lioncash/warn

common/core: Silence initialization order warnings
This commit is contained in:
Merry 2017-12-11 19:52:53 +00:00 committed by GitHub
commit 5c802d35ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View file

@ -19,8 +19,8 @@ namespace Loader {
class AppLoader_NCCH final : public AppLoader {
public:
AppLoader_NCCH(FileUtil::IOFile&& file, const std::string& filepath)
: AppLoader(std::move(file)), filepath(filepath), base_ncch(filepath),
overlay_ncch(&base_ncch) {}
: AppLoader(std::move(file)), base_ncch(filepath), overlay_ncch(&base_ncch),
filepath(filepath) {}
/**
* Returns the type of the file