diff --git a/DataSpec/DNACommon/DNACommon.hpp b/DataSpec/DNACommon/DNACommon.hpp index e66593c9d..a43473a7b 100644 --- a/DataSpec/DNACommon/DNACommon.hpp +++ b/DataSpec/DNACommon/DNACommon.hpp @@ -340,7 +340,7 @@ public: }; /** Resource cooker function */ -typedef std::function ResCooker; +using ResCooker = std::function; /** Mappings of resources involved in extracting characters */ template diff --git a/DataSpec/DNAMP3/PAK.hpp b/DataSpec/DNAMP3/PAK.hpp index d45fe4785..298dc5770 100644 --- a/DataSpec/DNAMP3/PAK.hpp +++ b/DataSpec/DNAMP3/PAK.hpp @@ -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