From 85c7d96a72d744740f11d7e1d14c0d54a26b3cb1 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:31:04 +0000 Subject: [PATCH] lilypond-0.0.30 --- hdr/pstaff.hh | 6 ++---- src/pstaff.cc | 8 +------- 2 files changed, 3 insertions(+), 11 deletions(-) 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; -- 2.39.5