mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-16 00:17:13 +00:00
Update fmtlib
This commit is contained in:
@@ -14,6 +14,7 @@ struct STRG : ISTRG {
|
||||
std::map<std::string, int32_t> names;
|
||||
|
||||
int32_t lookupIdx(std::string_view name) const override {
|
||||
// TODO: Heterogeneous lookup when C++20 available
|
||||
auto search = names.find(name.data());
|
||||
if (search == names.end())
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user