mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 08:27:43 +00:00
string_view refactor
This commit is contained in:
@@ -53,7 +53,7 @@ struct PAK : BigDNA
|
||||
std::unordered_map<std::string, UniqueID32> m_nameMap;
|
||||
|
||||
const Entry* lookupEntry(const UniqueID32& id) const;
|
||||
const Entry* lookupEntry(const std::string& name) const;
|
||||
const Entry* lookupEntry(std::string_view name) const;
|
||||
std::string bestEntryName(const Entry& entry, bool& named) const;
|
||||
|
||||
using IDType = UniqueID32;
|
||||
|
||||
Reference in New Issue
Block a user