]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/array.hh
*** empty log message ***
[lilypond.git] / flower / include / array.hh
index 9185cb8fa5f9afe7c875b261c001851897440f4b..e1b39fb58ffe6d53ec67a161c371b964b19372e9 100644 (file)
@@ -1,12 +1,12 @@
 /*
-  (c) 1995--2004 Han-Wen Nienhuys
+  (c) 1995--2005 Han-Wen Nienhuys
 
   Distributed under GNU GPL  
 */
 
 #ifndef ARRAY_H
 #define ARRAY_H
-#include <assert.h>
+#include <cassert>
 
 #ifndef INLINE
 #define INLINE inline
@@ -146,7 +146,7 @@ public:
   /// access element
   T &elem_ref (int i) const 
     {
-      assert (i >=0&&i<size_);
+      assert (i >=0 && i < size_);
       return ((T*)array_)[i];  
     }
   /// access element