diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-01-22 12:14:25 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-01-22 12:14:25 +0100 |
commit | 74d469af3937518f7619a78bc2fe99a4d662deea (patch) | |
tree | 56f870978ce2befed64805ce6574261bac9c6ce9 /include/modules | |
parent | 38b22990eae47525f4e8064a29e585a89788ee58 (diff) | |
parent | 1b957ed3a9d79a0cbc71e79acca82d893b40f8ac (diff) |
Merge branch 'master+exttype' into master+no-rtti
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) { } |