diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-13 18:48:16 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 11:40:53 -0400 |
commit | 6f553ce988f2744ff6abf4e8041e9687c6465b9f (patch) | |
tree | 517feb44cd6a4412f0ca582d09ff76a1b877eb3e /libs/ardour/session_state.cc | |
parent | 5ef01352830ddbd913f5ea05d795f7863d2874e9 (diff) |
changes required to operate with the Evoral::Beats ticktime commit
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r-- | libs/ardour/session_state.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 28a0725da8..bc91049589 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -1254,7 +1254,7 @@ Session::state (bool full_state, snapshot_t snapshot_type) if (!ms->model()) { ms->load_model (lm); } - if (ms->write_to (lm, newsrc, Evoral::MinBeats, Evoral::MaxBeats)) { + if (ms->write_to (lm, newsrc, Evoral::Beats(), std::numeric_limits<Evoral::Beats>::max())) { error << string_compose (_("Session-Save: Failed to copy MIDI Source '%1' for snapshot"), ancestor_name) << endmsg; } else { if (snapshot_type == SnapshotKeep) { |