diff options
author | Carl Hetherington <carl@carlh.net> | 2012-05-15 01:23:55 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-05-15 01:23:55 +0000 |
commit | b936f971e8248488cee3f710e98d4d6b2a8f42f7 (patch) | |
tree | 6c5eafc9538bc11949cfa0c77eadab3c0a45119e /libs/ardour/region_factory.cc | |
parent | 4d22a4345a586f33223d05176211203f51e00b63 (diff) |
Remove unused method.
git-svn-id: svn://localhost/ardour2/branches/3.0@12284 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/region_factory.cc')
-rw-r--r-- | libs/ardour/region_factory.cc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libs/ardour/region_factory.cc b/libs/ardour/region_factory.cc index b5195d80d9..f574097fea 100644 --- a/libs/ardour/region_factory.cc +++ b/libs/ardour/region_factory.cc @@ -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) { |