mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-28 22:05:03 +00:00
Make cons_impl() work with EbmlUnicodeString & std::wstring
This commit is contained in:
parent
78fa9e04cf
commit
fc62801628
@ -88,7 +88,7 @@ typename boost::enable_if< std::is_base_of<EbmlUnicodeString, Tobject> >::type
|
||||
cons_impl(EbmlMaster *master,
|
||||
Tobject *object,
|
||||
Tvalue const &value) {
|
||||
*static_cast<EbmlUnicodeString *>(object) = value;
|
||||
*static_cast<EbmlUnicodeString *>(object) = std::wstring{value}.c_str();
|
||||
master->PushElement(*object);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user