]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/moment.hh
Issue 4878: Make type_p_name_ always char pointer
[lilypond.git] / lily / include / moment.hh
index 9f825970af7f36b1cf36929e898752786f1d8821..c29032f99dc6f56d32fc087b2dcecfaccda7fe16 100644 (file)
@@ -32,7 +32,7 @@ class Moment : public Simple_smob<Moment>
 public:
   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_;
   Moment ();
   Moment (int m);
 
@@ -59,7 +59,7 @@ public:
   /*
     Deliver a copy of THIS as a smobified SCM
   */
-  std::string to_string () const;
+  string to_string () const;
   static int compare (Moment const &, Moment const &);
   SCM as_scheme () const;
 };