mirror of
https://github.com/oatpp/oatpp.git
synced 2025-04-06 18:40:24 +08:00
nullptr_t constructor for ObjectWrapper
This commit is contained in:
parent
3f47272bee
commit
d35f1dff13
@ -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())
|
||||
{}
|
||||
|
Loading…
x
Reference in New Issue
Block a user