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
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