Skip to content
Snippets Groups Projects
Commit ff148b05 authored by Aaron Cuevas Lopez's avatar Aaron Cuevas Lopez
Browse files

Fix metadata value string get method

parent c428fe56
Branches
Tags
No related merge requests found
......@@ -217,7 +217,7 @@ void MetaDataValue::setValue(const String& data)
void MetaDataValue::getValue(String& data) const
{
jassert(m_type == MetaDataDescriptor::CHAR);
data.createStringFromData(m_data.getData(), m_length);
data = String::createStringFromData(m_data.getData(), m_length);
}
template <typename T>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment