yet another fix for complaints from OS X gcc about constness
git-svn-id: svn://localhost/ardour2/branches/3.0@13361 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
4a843b6603
commit
1a096d5472
@ -375,7 +375,7 @@ CustomDeviceMode::set_state(const XMLTree& tree, const XMLNode& a_node)
|
||||
_name = a_node.property("Name")->value();
|
||||
|
||||
boost::shared_ptr<XMLSharedNodeList> channel_name_set_assignments =
|
||||
tree.find("//ChannelNameSetAssign", (XMLNode *)&a_node);
|
||||
tree.find("//ChannelNameSetAssign", const_cast<XMLNode *>(&a_node));
|
||||
for(XMLSharedNodeList::const_iterator i = channel_name_set_assignments->begin();
|
||||
i != channel_name_set_assignments->end();
|
||||
++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user