archive_extsavedata: Fix member initialization order

shared appears in the initializer list before mount_point
This commit is contained in:
Lioncash 2016-03-21 02:02:34 -04:00
parent b83e95727f
commit f6ad3e42f0
1 changed files with 2 additions and 1 deletions

View File

@ -45,13 +45,14 @@ public:
void WriteIcon(const Path& path, const u8* icon_data, size_t icon_size); void WriteIcon(const Path& path, const u8* icon_data, size_t icon_size);
private: private:
bool shared; ///< Whether this archive represents an ExtSaveData archive or a SharedExtSaveData archive
/** /**
* This holds the full directory path for this archive, it is only set after a successful call * This holds the full directory path for this archive, it is only set after a successful call
* to Open, this is formed as <base extsavedatapath>/<type>/<high>/<low>. * to Open, this is formed as <base extsavedatapath>/<type>/<high>/<low>.
* See GetExtSaveDataPath for the code that extracts this data from an archive path. * See GetExtSaveDataPath for the code that extracts this data from an archive path.
*/ */
std::string mount_point; std::string mount_point;
bool shared; ///< Whether this archive represents an ExtSaveData archive or a SharedExtSaveData archive
}; };
/** /**