From 334ec95e43a5aa9e01de8c0647448996ae25a8e0 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Fri, 19 Aug 2016 21:40:53 +1000 Subject: Use ID::to_s() in libardour instead of ID::print() --- libs/ardour/session_state.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'libs/ardour/session_state.cc') 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); } } -- cgit v1.2.3