Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
libvlcpp
Commits
00340197
Commit
00340197
authored
Mar 03, 2015
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
common.hpp: Fix potential multiple definition
parent
743bce3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/common.hpp
src/common.hpp
+1
-1
No files found.
src/common.hpp
View file @
00340197
...
...
@@ -46,7 +46,7 @@ namespace VLC
return
ref
.
get
();
}
std
::
unique_ptr
<
char
,
void
(
*
)(
void
*
)
>
wrapCStr
(
char
*
str
)
inline
std
::
unique_ptr
<
char
,
void
(
*
)(
void
*
)
>
wrapCStr
(
char
*
str
)
{
return
std
::
unique_ptr
<
char
,
void
(
*
)(
void
*
)
>
(
str
,
[](
void
*
ptr
)
{
libvlc_free
(
ptr
);
}
);
}
...
...
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