fix of ObjectWrapper constructor

This commit is contained in:
lganzzzo 2018-07-28 00:02:28 +03:00
parent 8260d175ac
commit 016f0de5e7

View File

@ -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)