diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-12-16 16:49:27 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-12-16 16:49:27 +0000 |
commit | 73f8ffce6340d854334925c9b5b466f3fb8f9a04 (patch) | |
tree | af0e4a1103ddf8daa1879e68bdf19b5ee4628b88 /libs/ardour/ardour/tempo.h | |
parent | ebc7eabea2f513ad6050c8fbd735371d553f68cf (diff) |
add copy constructor, operator= and a clean ::dump() method for TempoMap
Diffstat (limited to 'libs/ardour/ardour/tempo.h')
-rw-r--r-- | libs/ardour/ardour/tempo.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/ardour/tempo.h b/libs/ardour/ardour/tempo.h index 3bdaaa84eb..026f5176f5 100644 --- a/libs/ardour/ardour/tempo.h +++ b/libs/ardour/ardour/tempo.h @@ -304,8 +304,11 @@ class LIBARDOUR_API TempoMap : public PBD::StatefulDestructible { public: TempoMap (framecnt_t frame_rate); + TempoMap (TempoMap const &); ~TempoMap(); + TempoMap& operator= (TempoMap const &); + /* measure-based stuff */ enum BBTPointType { @@ -381,7 +384,7 @@ class LIBARDOUR_API TempoMap : public PBD::StatefulDestructible XMLNode& get_state (void); int set_state (const XMLNode&, int version); - void dump (const Metrics& metrics, std::ostream&) const; + void dump (std::ostream&) const; void clear (); TempoMetric metric_at (Timecode::BBT_Time bbt) const; |