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
commit 30b5cbcb02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
File::IOFile file(path, "rb");

View File

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