Remove unused method.

git-svn-id: svn://localhost/ardour2/branches/3.0@12284 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-05-15 01:23:55 +00:00
parent 4d22a4345a
commit b936f971e8
2 changed files with 0 additions and 20 deletions

View file

@ -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 ();

View file

@ -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)
{