mirror of https://github.com/AxioDL/metaforce.git
RetroDataSpec: Convert typedefs to using aliases
Same behavior, but nicer to read.
This commit is contained in:
parent
9ef2fbba5a
commit
d8ed1a5e79
|
@ -340,7 +340,7 @@ public:
|
|||
};
|
||||
|
||||
/** 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 */
|
||||
template <class IDType>
|
||||
|
|
|
@ -61,7 +61,7 @@ struct PAK : BigDNA {
|
|||
|
||||
bool mreaHasDupeResources(const UniqueID64& id) const { return m_dupeMREAs.find(id) != m_dupeMREAs.cend(); }
|
||||
|
||||
typedef UniqueID64 IDType;
|
||||
using IDType = UniqueID64;
|
||||
};
|
||||
|
||||
} // namespace DataSpec::DNAMP3
|
||||
|
|
Loading…
Reference in New Issue