]> git.donarmstrong.com Git - lilypond.git/commitdiff
Document Interval::delta().
authorHan-Wen Nienhuys <hanwen@lilypond.org>
Mon, 31 Jan 2011 14:54:41 +0000 (12:54 -0200)
committerHan-Wen Nienhuys <hanwen@lilypond.org>
Tue, 1 Feb 2011 01:29:42 +0000 (23:29 -0200)
flower/include/interval.hh

index 9c831816c439661856fb240c07d61b4bdad03a96..be7074c242bec76dc2a599e4e9359e6ad9e73556 100644 (file)
@@ -68,6 +68,8 @@ struct Interval_t : public Drul_array<T>
     at (RIGHT) = max (at (RIGHT), p);
   }
   T length () const;
+
+  // Returns RIGHT - LEFT, even if the interval is empty.
   T delta () const;
   void set_empty ();
   void set_full ();