Fix MacOS builds (API change in 705ac7bfc5
)
This commit is contained in:
parent
5c127f35b1
commit
ea8d1d09d4
@ -2039,7 +2039,7 @@ AUPlugin::add_state (XMLNode* root) const
|
|||||||
|
|
||||||
XMLTree t;
|
XMLTree t;
|
||||||
|
|
||||||
if (t.read_buffer (string ((const char*) CFDataGetBytePtr (xmlData), CFDataGetLength (xmlData)))) {
|
if (t.read_buffer (string ((const char*) CFDataGetBytePtr (xmlData), CFDataGetLength (xmlData)).c_str())) {
|
||||||
if (t.root()) {
|
if (t.root()) {
|
||||||
root->add_child_copy (*t.root());
|
root->add_child_copy (*t.root());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user