projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Fixed const correctness error in Location
[ardour.git]
/
libs
/
ardour
/
ardour
/
location.h
diff --git
a/libs/ardour/ardour/location.h
b/libs/ardour/ardour/location.h
index ae0ec5acd887cba7e9aab7e050a0ce284c3e4783..692d6d11c2b65c242e76c6efa9e13a3e31ab8bdd 100644
(file)
--- 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);