diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-01-18 10:40:33 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-01-18 10:40:33 +0100 |
commit | 4fc2f7199e964ba5112ecdb2613c6fd5c2eee638 (patch) | |
tree | bf2469f00fd4dfeaa07c0ab431a9663952cf17b7 /include/modules | |
parent | 4b6f7d789333dd9fd3b08f8742a68c0f9c6c2254 (diff) |
Specify which Extensible subclass an ExtensionItem is valid for
Diffstat (limited to 'include/modules')
-rw-r--r-- | include/modules/cap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/modules/cap.h b/include/modules/cap.h index 1b33e05bb..cc1cb8d8c 100644 --- a/include/modules/cap.h +++ b/include/modules/cap.h @@ -43,7 +43,9 @@ class GenericCap public: LocalIntExt ext; const std::string cap; - GenericCap(Module* parent, const std::string &Cap) : ext("cap_" + Cap, parent), cap(Cap) + GenericCap(Module* parent, const std::string& Cap) + : ext("cap_" + Cap, ExtensionItem::EXT_USER, parent) + , cap(Cap) { } |