]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.30
authorfred <fred>
Sun, 24 Mar 2002 19:31:04 +0000 (19:31 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:31:04 +0000 (19:31 +0000)
hdr/pstaff.hh
src/pstaff.cc

index 2c79427f7868680f01fb730a0524578e41621406..50a7f0c7198db08da99a7736994df038b6ddb61a 100644 (file)
@@ -8,18 +8,16 @@
 
 /// items grouped horizontally
 struct PStaff {
-    Molecule * stafsym_p_;
     PScore * pscore_l_;
     
     
     PointerList<const Spanner*> spans;
     PointerList<Item*> its;
 
-    /****************/
-    virtual void brew_molecule_p(Real width)=0; // maybe overkill
+    /* *************** */
     void add(Item*i);
     PStaff(PScore*);
-    virtual ~PStaff();
+
 private:
     PStaff(PStaff const&);
 };
index 3c7d82deae661a64019b1747739fe247444d418a..ce7f7b0da082b5abd472b1a38a36ac14141ef7c9 100644 (file)
@@ -1,19 +1,13 @@
 #include "pstaff.hh"
 #include "molecule.hh"
 
-PStaff::~PStaff()
-{
-    delete stafsym_p_;
-}
-
 PStaff::PStaff(PScore*ps)
 {
     pscore_l_=ps;
-    stafsym_p_ = 0;
 }
 
 void
-PStaff::add(Item *i )
+PStaff::add(Item *i)
 {
     its.bottom().add(i);
     i->pstaff_l_ = this;