From 666af4605eb37094533fc6aa908013f0aa3dd914 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 3 Dec 2017 18:34:49 -0500 Subject: [PATCH] WiiSaveBanner: Resolve a -Wreorder warning --- Source/Core/DiscIO/WiiSaveBanner.cpp | 2 +- Source/Core/DiscIO/WiiSaveBanner.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/DiscIO/WiiSaveBanner.cpp b/Source/Core/DiscIO/WiiSaveBanner.cpp index 798819a42b..a248151e44 100644 --- a/Source/Core/DiscIO/WiiSaveBanner.cpp +++ b/Source/Core/DiscIO/WiiSaveBanner.cpp @@ -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"); diff --git a/Source/Core/DiscIO/WiiSaveBanner.h b/Source/Core/DiscIO/WiiSaveBanner.h index cc3c53a71f..eb199e5ec4 100644 --- a/Source/Core/DiscIO/WiiSaveBanner.h +++ b/Source/Core/DiscIO/WiiSaveBanner.h @@ -35,7 +35,7 @@ private: char16_t description[32]; } m_header; - bool m_valid; + bool m_valid = true; std::string m_path; }; }