SegmentDescriptor::get_state() can be const
This commit is contained in:
@@ -62,7 +62,7 @@ public:
|
||||
|
||||
/* Replicate the API of PBD::Stateful without the overhead */
|
||||
|
||||
XMLNode& get_state (void);
|
||||
XMLNode& get_state (void) const;
|
||||
int set_state (const XMLNode&, int version);
|
||||
|
||||
private:
|
||||
|
||||
@@ -115,7 +115,7 @@ SegmentDescriptor::set_meter (Meter const & m)
|
||||
}
|
||||
|
||||
XMLNode&
|
||||
SegmentDescriptor::get_state (void)
|
||||
SegmentDescriptor::get_state (void) const
|
||||
{
|
||||
XMLNode* root = new XMLNode (X_("SegmentDescriptor"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user