conform to new CP API

This commit is contained in:
Paul Davis 2013-12-21 15:30:43 -05:00
parent 91e2b5f88a
commit e9c47051f7

View file

@ -50,9 +50,7 @@ using namespace PBD;
XMLNode& XMLNode&
TranzportControlProtocol::get_state () TranzportControlProtocol::get_state ()
{ {
XMLNode* node = new XMLNode (X_("Protocol")); return ControlProtocol::get_state();
node->add_property (X_("name"), _name);
return *node;
} }
int int