]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/list.icc
release: 0.1.11
[lilypond.git] / flower / include / list.icc
index 83ec3aa7961f9e8fdac1dae585be4563bf834b48..f77a2018361d3f407aa3a4877c4d9bf16bba494d 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,22 +35,22 @@ template<class T>
 inline int
 List<T>::size() const
 { 
-    return size_;
+  return size_;
 }
 
 template<class T>
 inline Cursor<T>
-List<T>::top()const
+List<T>::top() const
 {
-    return Cursor<T>( *this, top_);
+  return Cursor<T>( *this, top_);
 }
 
 
 template<class T>
 inline Cursor<T>
-List<T>::bottom()const
+List<T>::bottom() const
 {
-    return Cursor<T>( *this, bottom_);
+  return Cursor<T>( *this, bottom_);
 }