13
0

r338@gandalf: fugalh | 2006-08-12 16:30:19 -0600

Oops, forgot one


git-svn-id: svn://localhost/ardour2/branches/undo@813 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Hans Fugal 2006-08-12 22:33:48 +00:00
parent 0cde6a54ed
commit e0d1b7cb4b

View File

@ -834,3 +834,14 @@ Locations::num_range_markers () const
}
return cnt;
}
Location *
Locations::get_location_by_id(PBD::ID id)
{
LocationList::iterator it;
for (it = locations.begin(); it != locations.end(); it++)
if (id == (*it)->id())
return *it;
return 0;
}