summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/location.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-08-06 22:12:39 +0200
committerRobin Gareus <robin@gareus.org>2016-08-06 22:12:39 +0200
commitd04ca6d4149b602a193da8fbb88c03fef94f9e5d (patch)
treed559d3a306c0918fd908969778791a47e2381f10 /libs/ardour/ardour/location.h
parent43cd3fd7606bc765c6ff3af43eada389eddb1beb (diff)
a few more Location related lua bindings
Diffstat (limited to 'libs/ardour/ardour/location.h')
-rw-r--r--libs/ardour/ardour/location.h3
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 *);