]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/lilypond-key.hh
Fix off-by-one error in constrained-breaking.
[lilypond.git] / lily / include / lilypond-key.hh
index dc27c98fea978bd7424b9f72e9015be23bfa57e3..4196ffd5f2d24580f092fcb872f8c28a6a2f0b36 100644 (file)
@@ -17,13 +17,13 @@ class Lilypond_grob_key : public Object_key
 {
   Object_key const *context_;
   Moment creation_moment_;
-  std::string grob_name_;
+  string grob_name_;
   int disambiguation_count_;
 
 public:
   Lilypond_grob_key (Object_key const *context,
                     Moment start,
-                    std::string name, int);
+                    string name, int);
 
   static Object_key *from_scheme (SCM);
 protected:
@@ -37,15 +37,15 @@ class Lilypond_context_key : public Object_key
 {
   Object_key const *parent_context_;
   Moment start_moment_;
-  std::string context_name_;
-  std::string id_;
+  string context_name_;
+  string id_;
   int disambiguation_count_;
 
 public:
   Lilypond_context_key (Object_key const *parent,
                        Moment start,
-                       std::string type,
-                       std::string id,
+                       string type,
+                       string id,
                        int count);
 
   static Object_key *from_scheme (SCM);
@@ -59,10 +59,10 @@ protected:
 class Lilypond_general_key : public Object_key
 {
   Object_key const *parent_;
-  std::string name_;
+  string name_;
   int disambiguation_count_;
 public:
-  Lilypond_general_key (Object_key const *parent, std::string name,
+  Lilypond_general_key (Object_key const *parent, string name,
                        int count);
 
   static Object_key *from_scheme (SCM);