mirror of
https://github.com/oatpp/oatpp.git
synced 2025-04-12 18:50:22 +08:00
fix of ObjectWrapper constructor
This commit is contained in:
parent
8260d175ac
commit
016f0de5e7
@ -172,7 +172,7 @@ public:
|
||||
{}
|
||||
|
||||
ObjectWrapper(const PolymorphicWrapper<T>& other)
|
||||
: PolymorphicWrapper<T>(other.m_ptr, Class::getType())
|
||||
: PolymorphicWrapper<T>(other.getPtr(), Class::getType())
|
||||
{}
|
||||
|
||||
ObjectWrapper(PolymorphicWrapper<T>&& other)
|
||||
|
Loading…
x
Reference in New Issue
Block a user