diff options
Diffstat (limited to 'libs/ardour/ardour/location.h')
-rw-r--r-- | libs/ardour/ardour/location.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/ardour/location.h b/libs/ardour/ardour/location.h index d31e9dccce..6b61dae746 100644 --- a/libs/ardour/ardour/location.h +++ b/libs/ardour/ardour/location.h @@ -173,7 +173,8 @@ class LIBARDOUR_API Locations : public SessionHandleRef, public PBD::StatefulDes Locations (Session &); ~Locations (); - const LocationList& list() { return locations; } + const LocationList& list () const { return locations; } + LocationList list () { return locations; } void add (Location *, bool make_current = false); void remove (Location *); |