Commit 00340197 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

common.hpp: Fix potential multiple definition

parent 743bce3e
......@@ -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); } );
}
......
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