Resolve copy-c'tor and assignment issue with TempoMap
authorRobin Gareus <robin@gareus.org>
Sat, 18 Mar 2017 20:31:34 +0000 (21:31 +0100)
committerRobin Gareus <robin@gareus.org>
Sat, 18 Mar 2017 20:33:40 +0000 (21:33 +0100)
commita9ca7f649a1ff84409ef7e86166b1161e8848efb
tree9daa2f167b14c9ca69e14605392b163502df1ed2
parent448bc635e528f068d88a34de03622fba0e3ea180
Resolve copy-c'tor and assignment issue with TempoMap

There are various issues with copy-construction: no readlock is taken,
Tempo/Metric Sections were static-cast to non-const pointers and passed
as references...

This remove the [now] unused copy-c'tor, and fixes various const issues.
libs/ardour/ardour/tempo.h
libs/ardour/tempo.cc