Commit ce8805e4 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Fixed compil

parent f47dd800
...@@ -248,7 +248,7 @@ public: ...@@ -248,7 +248,7 @@ public:
typename = typename std::enable_if<std::is_base_of<BaseObject, CppType>::value, CppType>::type typename = typename std::enable_if<std::is_base_of<BaseObject, CppType>::value, CppType>::type
> >
static void signalCppPtrDestruction (CppType *cppObject) { static void signalCppPtrDestruction (CppType *cppObject) {
void *value = cppObject->getCBackPtr(); //void *value = cppObject->getCBackPtr();
//TODO //TODO
/*if (value && static_cast<WrappedBaseObject<CppType> *>(value)->owner == WrappedObjectOwner::Internal) /*if (value && static_cast<WrappedBaseObject<CppType> *>(value)->owner == WrappedObjectOwner::Internal)
belle_sip_object_unref(value);*/ belle_sip_object_unref(value);*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment