Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
c6994469
Commit
c6994469
authored
Oct 02, 2017
by
Ronan
Browse files
fix(c-wrapper): use shared_from_this
parent
429a231c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/c-wrapper/internal/c-tools.h
src/c-wrapper/internal/c-tools.h
+1
-1
No files found.
src/c-wrapper/internal/c-tools.h
View file @
c6994469
...
...
@@ -294,7 +294,7 @@ public:
return
nullptr
;
try
{
return
getCBackPtr
(
std
::
static_pointer_cast
<
CppType
>
(
cppObject
->
shared
F
rom
T
his
()));
return
getCBackPtr
(
std
::
static_pointer_cast
<
CppType
>
(
cppObject
->
shared
_f
rom
_t
his
()));
}
catch
(
const
std
::
bad_weak_ptr
&
e
)
{
abort
(
e
.
what
());
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment