diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/object.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/object.h b/include/object.h index ff2f7c1..a4d3c5a 100644 --- a/include/object.h +++ b/include/object.h @@ -76,6 +76,12 @@ public: Object(const char *name, Base *base); /** + * Wrap around an object implemented by us + * @param object Object to be wrapped + */ + Object(Base *base) : Value(base) {} + + /** * Constructor to create a new instance * * This constructor comes in many different forms, to support all possible |