mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
Fixes by @AkiSakurai for bug thats caused crashing ImHex when creating recursive inheritances. (#2612)
The previous code I approved was wrong and caused ImHex to grow until computer froze. This PR is a copy of the original fix in PR #2546 by @AkiSakurai
This commit is contained in:
@@ -218,7 +218,7 @@ namespace hex::plugin::builtin {
|
||||
std::string getVariableTypeName();
|
||||
/// Append the variable definitions of the parent to the child
|
||||
void appendInheritances();
|
||||
void recurseInheritances(std::string name, size_t depth = 0);
|
||||
void recurseInheritances(std::string name);
|
||||
///Loads a map of identifiers to their token id instances
|
||||
void loadInstances();
|
||||
/// Replace auto with the actual type for template arguments and function parameters
|
||||
|
||||
Reference in New Issue
Block a user