From 4dd0203f0169b9450efbdcb865989defb32a29c8 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Fri, 19 Aug 2016 21:39:38 +1000 Subject: [PATCH] Use ID::to_s() in libpbd instead of ID::print() --- libs/pbd/controllable.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/pbd/controllable.cc b/libs/pbd/controllable.cc index a2e6265927..38554bd24a 100644 --- a/libs/pbd/controllable.cc +++ b/libs/pbd/controllable.cc @@ -121,8 +121,7 @@ Controllable::get_state () node->add_property (X_("name"), _name); - id().print (buf, sizeof (buf)); - node->add_property (X_("id"), buf); + node->add_property (X_("id"), id().to_s()); node->add_property (X_("flags"), enum_2_string (_flags)); snprintf (buf, sizeof (buf), "%2.12f", get_save_value()); node->add_property (X_("value"), buf);