FileSystem: Fix member destruction order

This commit is contained in:
Léo Lam 2018-04-15 11:31:12 +02:00
parent 45647df349
commit 3355ddcfb3
1 changed files with 1 additions and 1 deletions

View File

@ -77,8 +77,8 @@ private:
std::shared_ptr<File::IOFile> OpenHostFile(const std::string& host_path); std::shared_ptr<File::IOFile> OpenHostFile(const std::string& host_path);
std::string m_root_path; std::string m_root_path;
std::array<Handle, 16> m_handles{};
std::map<std::string, std::weak_ptr<File::IOFile>> m_open_files; std::map<std::string, std::weak_ptr<File::IOFile>> m_open_files;
std::array<Handle, 16> m_handles{};
}; };
} // namespace IOS::HLE::FS } // namespace IOS::HLE::FS