common/core: Silence initialization order warnings

This commit is contained in:
Lioncash 2017-12-10 19:50:45 -05:00
parent 9699194b54
commit c31f932afe
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