mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-31 19:07:43 +01:00
Fix MacOS builds (API change in 705ac7bfc5)
This commit is contained in:
parent
5c127f35b1
commit
ea8d1d09d4
1 changed files with 1 additions and 1 deletions
|
|
@ -2039,7 +2039,7 @@ AUPlugin::add_state (XMLNode* root) const
|
|||
|
||||
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()) {
|
||||
root->add_child_copy (*t.root());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue