summaryrefslogtreecommitdiff
path: root/lily/include/duration.hh
diff options
context:
space:
mode:
authorDavid Kastrup <dak@gnu.org>2016-06-03 14:21:55 +0200
committerDavid Kastrup <dak@gnu.org>2016-06-09 09:38:55 +0200
commit67cd07e55d5ec908c246ae543e480d367b61d6b3 (patch)
treee71d203a60bd2fc77d18e060953cb9374d2e60c6 /lily/include/duration.hh
parent536ecabb8301e3b0c242f2bb5fb1e0df3b194fa0 (diff)
Issue 4878: Make type_p_name_ always char pointer
This avoids the pitfalls cured by issue 4783 without the associated inconvenience when no predicate is desired.
Diffstat (limited to 'lily/include/duration.hh')
-rw-r--r--lily/include/duration.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lily/include/duration.hh b/lily/include/duration.hh
index 7a57cf53af..6233fc1b2d 100644
--- a/lily/include/duration.hh
+++ b/lily/include/duration.hh
@@ -29,7 +29,7 @@ struct Duration : public Simple_smob<Duration>
{
static SCM equal_p (SCM, SCM);
int print_smob (SCM, scm_print_state *) const;
- static const char type_p_name_[];
+ static const char * const type_p_name_;
Duration ();
Duration (int, int);
Duration (Rational, bool scale);