nullptr_t constructor for ObjectWrapper

This commit is contained in:
lganzzzo 2018-07-09 03:25:33 +03:00
parent 3f47272bee
commit d35f1dff13

View File

@ -159,6 +159,10 @@ public:
: PolymorphicWrapper<T>(Class::getType())
{}
ObjectWrapper(std::nullptr_t nullptrt)
: PolymorphicWrapper<T>(nullptr, Class::getType())
{}
ObjectWrapper(const std::shared_ptr<T>& ptr)
: PolymorphicWrapper<T>(ptr, Class::getType())
{}