diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2016-08-19 21:40:53 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2017-04-19 07:49:58 +1000 |
commit | 334ec95e43a5aa9e01de8c0647448996ae25a8e0 (patch) | |
tree | 310e781ee87343699d6b1fe84ab7eb3e543ce4b6 /libs/ardour/session_state.cc | |
parent | 4dd0203f0169b9450efbdcb865989defb32a29c8 (diff) |
Use ID::to_s() in libardour instead of ID::print()
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r-- | libs/ardour/session_state.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index edca09ff14..e8db05dc6b 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -1274,12 +1274,9 @@ Session::state (bool full_state) XMLNode* ca = node->add_child (X_("CompoundAssociations")); for (RegionFactory::CompoundAssociations::iterator i = cassocs.begin(); i != cassocs.end(); ++i) { - char buf[64]; XMLNode* can = new XMLNode (X_("CompoundAssociation")); - i->first->id().print (buf, sizeof (buf)); - can->add_property (X_("copy"), buf); - i->second->id().print (buf, sizeof (buf)); - can->add_property (X_("original"), buf); + can->add_property (X_("copy"), i->first->id().to_s()); + can->add_property (X_("original"), i->second->id().to_s()); ca->add_child_nocopy (*can); } } |