Fix pollution of global namespace by Evoral.

git-svn-id: svn://localhost/ardour2/branches/3.0@3947 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2008-10-13 02:43:14 +00:00
parent 8b951bb9ee
commit 1514039689
12 changed files with 64 additions and 63 deletions

View file

@ -70,11 +70,11 @@ ControlSet::control (const Parameter& parameter, bool create_if_missing)
}
bool
ControlSet::find_next_event (nframes_t now, nframes_t end, ControlEvent& next_event) const
ControlSet::find_next_event (FrameTime now, FrameTime end, ControlEvent& next_event) const
{
Controls::const_iterator li;
next_event.when = std::numeric_limits<nframes_t>::max();
next_event.when = std::numeric_limits<FrameTime>::max();
for (li = _controls.begin(); li != _controls.end(); ++li) {
ControlList::const_iterator i;
@ -95,7 +95,7 @@ ControlSet::find_next_event (nframes_t now, nframes_t end, ControlEvent& next_ev
}
}
return next_event.when != std::numeric_limits<nframes_t>::max();
return next_event.when != std::numeric_limits<FrameTime>::max();
}
void