updates for C++17
This commit is contained in:
@@ -167,9 +167,9 @@ void TimelineMarkerList::InsertIntoList(TimelineMarker *marker)
|
||||
for (auto it=markers_.begin(); it!=markers_.end(); it++) {
|
||||
TimelineMarker *m = *it;
|
||||
|
||||
Q_ASSERT(m->time() != marker->time());
|
||||
Q_ASSERT(m->time().in() != marker->time().in());
|
||||
|
||||
if (m->time() > marker->time()) {
|
||||
if (m->time().in() > marker->time().in()) {
|
||||
markers_.insert(it, marker);
|
||||
found = true;
|
||||
break;
|
||||
@@ -316,7 +316,7 @@ Project* MarkerChangeTimeCommand::GetRelevantProject() const
|
||||
|
||||
void MarkerChangeTimeCommand::redo()
|
||||
{
|
||||
old_time_ = marker_->time_range();
|
||||
old_time_ = marker_->time();
|
||||
marker_->set_time(new_time_);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user