RetroDataSpec: Convert typedefs to using aliases

Same behavior, but nicer to read.
This commit is contained in:
Lioncash 2020-03-31 13:11:22 -04:00
parent 9ef2fbba5a
commit d8ed1a5e79
2 changed files with 2 additions and 2 deletions

View File

@ -340,7 +340,7 @@ public:
}; };
/** Resource cooker function */ /** Resource cooker function */
typedef std::function<bool(const hecl::ProjectPath&, const hecl::ProjectPath&)> ResCooker; using ResCooker = std::function<bool(const hecl::ProjectPath&, const hecl::ProjectPath&)>;
/** Mappings of resources involved in extracting characters */ /** Mappings of resources involved in extracting characters */
template <class IDType> template <class IDType>

View File

@ -61,7 +61,7 @@ struct PAK : BigDNA {
bool mreaHasDupeResources(const UniqueID64& id) const { return m_dupeMREAs.find(id) != m_dupeMREAs.cend(); } bool mreaHasDupeResources(const UniqueID64& id) const { return m_dupeMREAs.find(id) != m_dupeMREAs.cend(); }
typedef UniqueID64 IDType; using IDType = UniqueID64;
}; };
} // namespace DataSpec::DNAMP3 } // namespace DataSpec::DNAMP3