]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/list.icc
release: 0.1.9
[lilypond.git] / flower / include / list.icc
index 83ec3aa7961f9e8fdac1dae585be4563bf834b48..80d12f56ba2323ea6e2bb5a4556a603b045c296b 100644 (file)
@@ -7,26 +7,27 @@ template<class T>
 inline
 List<T>::List()
 {
-    set_empty();
+  set_empty();
 }
 
 template<class T>
 inline void
 List<T>::set_empty()
 {
-    top_ = bottom_ = 0;
-    size_ = 0;
+  top_ = bottom_ = 0;
+  size_ = 0;
 }
 
 template<class T>
 inline void
 List<T>::remove (Cursor<T> me)
 {
-    if ( me.ok()){
+  if ( me.ok())
+    {
        Link<T> *lp = me.pointer();     
        lp->remove (*this);
        delete lp;
-        size_--;
+      size_--;
     }
 }
 
@@ -34,14 +35,14 @@ template<class T>
 inline int
 List<T>::size() const
 { 
-    return size_;
+  return size_;
 }
 
 template<class T>
 inline Cursor<T>
 List<T>::top()const
 {
-    return Cursor<T>( *this, top_);
+  return Cursor<T>( *this, top_);
 }
 
 
@@ -49,7 +50,7 @@ template<class T>
 inline Cursor<T>
 List<T>::bottom()const
 {
-    return Cursor<T>( *this, bottom_);
+  return Cursor<T>( *this, bottom_);
 }