mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-20 12:26:07 +01:00
SegmentDescriptor::get_state() can be const
This commit is contained in:
parent
154f406256
commit
e00779c57d
2 changed files with 2 additions and 2 deletions
|
|
@ -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"));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue