mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Fix -Wshadow warning for file_entry
This struct didn't follow our naming convention, so let's rename the struct itself instead of the variable that triggered the warning.
This commit is contained in:
@ -41,9 +41,9 @@ private:
|
||||
|
||||
File::IOFile& SeekToCluster(u64 offset, u64* available);
|
||||
bool IsGood() { return m_good; }
|
||||
struct file_entry
|
||||
struct FileEntry
|
||||
{
|
||||
file_entry(File::IOFile file_, u64 base_address_, u64 size_)
|
||||
FileEntry(File::IOFile file_, u64 base_address_, u64 size_)
|
||||
: file(std::move(file_)), base_address(base_address_), size(size_)
|
||||
{
|
||||
}
|
||||
@ -53,7 +53,7 @@ private:
|
||||
u64 size;
|
||||
};
|
||||
|
||||
std::vector<file_entry> m_files;
|
||||
std::vector<FileEntry> m_files;
|
||||
|
||||
u64 m_size;
|
||||
|
||||
|
Reference in New Issue
Block a user