Merge pull request #6235 from lioncash/reorder

WiiSaveBanner: Resolve a -Wreorder warning
This commit is contained in:
Markus Wick
2017-12-04 08:52:42 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ WiiSaveBanner::WiiSaveBanner(u64 title_id)
{ {
} }
WiiSaveBanner::WiiSaveBanner(const std::string& path) : m_path(path), m_valid(true) WiiSaveBanner::WiiSaveBanner(const std::string& path) : m_path(path)
{ {
constexpr size_t MINIMUM_SIZE = sizeof(Header) + BANNER_SIZE + ICON_SIZE; constexpr size_t MINIMUM_SIZE = sizeof(Header) + BANNER_SIZE + ICON_SIZE;
File::IOFile file(path, "rb"); File::IOFile file(path, "rb");

View File

@ -35,7 +35,7 @@ private:
char16_t description[32]; char16_t description[32];
} m_header; } m_header;
bool m_valid; bool m_valid = true;
std::string m_path; std::string m_path;
}; };
} }