summaryrefslogtreecommitdiff
path: root/include/modules/cap.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-01-23 15:59:35 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-01-23 15:59:35 +0100
commitb705c6426818ba8cedfd00d1a84dab8ff0d0f1a0 (patch)
treee4f403e4ec56ed55c98e65dfb22a9f4c94531508 /include/modules/cap.h
parent9add848772555f527b625953cb45c46850ac1274 (diff)
parent365e2b45f871d80debb135b0f26766538d10809d (diff)
Merge branch 'master+no-rtti'
Diffstat (limited to 'include/modules/cap.h')
-rw-r--r--include/modules/cap.h4
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)
{
}