summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/location.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/location.h')
-rw-r--r--libs/ardour/ardour/location.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/location.h b/libs/ardour/ardour/location.h
index ae0ec5acd8..692d6d11c2 100644
--- a/libs/ardour/ardour/location.h
+++ b/libs/ardour/ardour/location.h
@@ -90,7 +90,7 @@ class Location : public PBD::StatefulDestructible
int move_to (nframes_t pos);
- const string& name() { return _name; }
+ const string& name() const { return _name; }
void set_name (const string &str) { _name = str; name_changed(this); }
void set_auto_punch (bool yn, void *src);