]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/string.icc
* lily/include/audio-column.hh: remove unused variables.
[lilypond.git] / flower / include / string.icc
index 7b4985b8c3cd1da14ee9b5d96d3f2ad21e89954f..2436dfaeb28d232aeaffcab33aaaf2cd37ef3c90 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the Flower Library
   
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
 
 INLINE 
 char &
-String::operator [](int n)
+String::operator [] (int n)
 {
   return (char &) strh_[n]; 
 }
 
 INLINE 
 char 
-String::operator [](int n) const
+String::operator [] (int n) const
 {
   return strh_[n]; 
 }
@@ -30,6 +30,12 @@ String::String ()
 {
 }
 
+INLINE
+String::String (char const* source)
+{   
+  assert (source);    
+  strh_ = source;    
+}
 
 
 #endif /* STRING_ICC */