summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/session_region.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/session_region.h')
-rw-r--r--libs/ardour/ardour/session_region.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/session_region.h b/libs/ardour/ardour/session_region.h
index fae950baa6..bce025adbe 100644
--- a/libs/ardour/ardour/session_region.h
+++ b/libs/ardour/ardour/session_region.h
@@ -6,7 +6,7 @@
namespace ARDOUR {
-template<class T> void Session::foreach_region (T *obj, void (T::*func)(Region *))
+template<class T> void Session::foreach_region (T *obj, void (T::*func)(boost::shared_ptr<Region>))
{
Glib::Mutex::Lock lm (region_lock);
for (RegionList::iterator i = regions.begin(); i != regions.end(); i++) {
@@ -14,6 +14,6 @@ template<class T> void Session::foreach_region (T *obj, void (T::*func)(Region *
}
}
-}
+} // namespace ARDOUR
#endif /* __ardour_session_region_h__ */