Constification: make Stateful::get_state() const, with all other required const-ness added (libs)
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#include "pbd/command.h"
|
||||
#include "pbd/xml++.h"
|
||||
|
||||
XMLNode &Command::get_state()
|
||||
XMLNode &Command::get_state() const
|
||||
{
|
||||
XMLNode *node = new XMLNode ("Command");
|
||||
node->add_content("WARNING: Somebody forgot to subclass Command.");
|
||||
|
||||
Reference in New Issue
Block a user