Use ID::to_s() in libpbd instead of ID::print()
This commit is contained in:
parent
454b2d4e69
commit
4dd0203f01
|
@ -121,8 +121,7 @@ Controllable::get_state ()
|
||||||
|
|
||||||
node->add_property (X_("name"), _name);
|
node->add_property (X_("name"), _name);
|
||||||
|
|
||||||
id().print (buf, sizeof (buf));
|
node->add_property (X_("id"), id().to_s());
|
||||||
node->add_property (X_("id"), buf);
|
|
||||||
node->add_property (X_("flags"), enum_2_string (_flags));
|
node->add_property (X_("flags"), enum_2_string (_flags));
|
||||||
snprintf (buf, sizeof (buf), "%2.12f", get_save_value());
|
snprintf (buf, sizeof (buf), "%2.12f", get_save_value());
|
||||||
node->add_property (X_("value"), buf);
|
node->add_property (X_("value"), buf);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user