mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Remove unused method.
git-svn-id: svn://localhost/ardour2/branches/3.0@12284 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
4d22a4345a
commit
b936f971e8
2 changed files with 0 additions and 20 deletions
|
|
@ -84,7 +84,6 @@ public:
|
|||
static void remove_regions_using_source (boost::shared_ptr<Source>);
|
||||
|
||||
static void map_remove (boost::weak_ptr<Region>);
|
||||
static void map_remove_with_equivalents (boost::shared_ptr<Region>);
|
||||
static void delete_all_regions ();
|
||||
static const RegionMap& regions() { return region_map; }
|
||||
static uint32_t nregions ();
|
||||
|
|
|
|||
|
|
@ -347,25 +347,6 @@ RegionFactory::map_remove (boost::weak_ptr<Region> w)
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
RegionFactory::map_remove_with_equivalents (boost::shared_ptr<Region> r)
|
||||
{
|
||||
Glib::Mutex::Lock lm (region_map_lock);
|
||||
|
||||
for (RegionMap::iterator i = region_map.begin(); i != region_map.end(); ) {
|
||||
RegionMap::iterator tmp = i;
|
||||
++tmp;
|
||||
|
||||
if (r->region_list_equivalent (i->second)) {
|
||||
region_map.erase (i);
|
||||
} else if (r == i->second) {
|
||||
region_map.erase (i);
|
||||
}
|
||||
|
||||
i = tmp;
|
||||
}
|
||||
}
|
||||
|
||||
boost::shared_ptr<Region>
|
||||
RegionFactory::region_by_id (const PBD::ID& id)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue