summaryrefslogtreecommitdiff
path: root/libs/pbd/controllable.cc
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2016-08-19 21:39:38 +1000
committerTim Mayberry <mojofunk@gmail.com>2017-04-19 07:49:58 +1000
commit4dd0203f0169b9450efbdcb865989defb32a29c8 (patch)
tree2095742f653a9eebabc4c7b86769287e7d400349 /libs/pbd/controllable.cc
parent454b2d4e6997aa0273d1149403a7c3e952ba2b2c (diff)
Use ID::to_s() in libpbd instead of ID::print()
Diffstat (limited to 'libs/pbd/controllable.cc')
-rw-r--r--libs/pbd/controllable.cc3
1 files changed, 1 insertions, 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);