[Cleanup] Remove FindPatch() from struct_category.cpp and struct_category.h (#3130)

# Notes
- This is unused.
This commit is contained in:
Alex King
2023-03-20 12:06:10 -04:00
committed by GitHub
parent d6b954a4b9
commit abcb5d069f
2 changed files with 0 additions and 11 deletions
-8
View File
@@ -71,14 +71,6 @@ namespace StructStrategyFactory {
strategies[first_opcode] = structs;
}
const StructStrategy *FindPatch(EmuOpcode first_opcode) {
std::map<EmuOpcode, const StructStrategy *>::const_iterator res;
res = strategies.find(first_opcode);
if(res == strategies.end())
return(nullptr);
return(res->second);
}
};