From: fred Date: Sun, 24 Mar 2002 19:31:04 +0000 (+0000) Subject: lilypond-0.0.30 X-Git-Tag: release/1.5.59~5430 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=85c7d96a72d744740f11d7e1d14c0d54a26b3cb1;p=lilypond.git lilypond-0.0.30 --- diff --git a/hdr/pstaff.hh b/hdr/pstaff.hh index 2c79427f78..50a7f0c719 100644 --- a/hdr/pstaff.hh +++ b/hdr/pstaff.hh @@ -8,18 +8,16 @@ /// items grouped horizontally struct PStaff { - Molecule * stafsym_p_; PScore * pscore_l_; PointerList spans; PointerList its; - /****************/ - virtual void brew_molecule_p(Real width)=0; // maybe overkill + /* *************** */ void add(Item*i); PStaff(PScore*); - virtual ~PStaff(); + private: PStaff(PStaff const&); }; diff --git a/src/pstaff.cc b/src/pstaff.cc index 3c7d82deae..ce7f7b0da0 100644 --- a/src/pstaff.cc +++ b/src/pstaff.cc @@ -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;