mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix(c-wrapper): use shared_from_this
This commit is contained in:
parent
429a231cb0
commit
c699446974
1 changed files with 1 additions and 1 deletions
|
|
@ -294,7 +294,7 @@ public:
|
|||
return nullptr;
|
||||
|
||||
try {
|
||||
return getCBackPtr(std::static_pointer_cast<CppType>(cppObject->sharedFromThis()));
|
||||
return getCBackPtr(std::static_pointer_cast<CppType>(cppObject->shared_from_this()));
|
||||
} catch (const std::bad_weak_ptr &e) {
|
||||
abort(e.what());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue