diff options
author | Marius Kintel <marius@kintel.net> | 2013-05-13 20:27:17 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-05-13 20:27:17 (GMT) |
commit | ee6f149dd0d9bcef0cb94cef154ed32f308c23e1 (patch) | |
tree | 28542d1aa602d31ffbced210bd881249242f5c5f /src/module.h | |
parent | 8c532d525203d6cd0fc8ab200a4dea1dccd03dd6 (diff) |
bugfix: Fixed recursion crash (#346)
Diffstat (limited to 'src/module.h')
-rw-r--r-- | src/module.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/module.h b/src/module.h index 8f1ccb7..9f46d37 100644 --- a/src/module.h +++ b/src/module.h @@ -13,7 +13,7 @@ class ModuleInstantiation { public: ModuleInstantiation(const std::string &name = "") - : tag_root(false), tag_highlight(false), tag_background(false), modname(name) { } + : tag_root(false), tag_highlight(false), tag_background(false), recursioncount(0), modname(name) { } virtual ~ModuleInstantiation(); std::string dump(const std::string &indent) const; @@ -35,6 +35,7 @@ public: bool tag_root; bool tag_highlight; bool tag_background; + mutable int recursioncount; protected: std::string modname; std::string modpath; |