From: fred Date: Wed, 11 Dec 1996 23:06:42 +0000 (+0000) Subject: flower-1.0.13 X-Git-Tag: release/1.5.59~6609 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=652caea450c5ac816c48f029478e9de144190973;p=lilypond.git flower-1.0.13 --- diff --git a/flower/Sources.make b/flower/Sources.make index 044543beee..c7efa127f9 100644 --- a/flower/Sources.make +++ b/flower/Sources.make @@ -10,5 +10,5 @@ hh=cursor.hh pcursor.hh lgetopt.hh link.hh list.hh dstream.hh \ findcurs.hh unionfind.hh compare.hh handle.hh matrix.hh\ smat.hh vsmat.hh vector.hh real.hh choleski.hh\ tsmat.hh tvsmat.hh plist.hh associter.hh fproto.hh\ - interval.hh scalar.hh + interval.hh scalar.hh sstack.hh diff --git a/flower/textstr.hh b/flower/textstr.hh index c64a989c3c..63369ac258 100644 --- a/flower/textstr.hh +++ b/flower/textstr.hh @@ -3,10 +3,8 @@ #include #include - -//#include "globals.hh" #include "string.hh" -#include "vray.hh" +#include "sstack.hh" /// line counting input stream. class Text_stream diff --git a/flower/vray.hh b/flower/vray.hh index ab6255109b..302499b256 100644 --- a/flower/vray.hh +++ b/flower/vray.hh @@ -156,21 +156,4 @@ public: */ -/// A simple stack based on svec. -template -class sstack : svec { - public: - T top() { return last(); } - T pop() { - assert(!empty()); - T l = last(); - svec::pop(); - return l; - } - void push(T l) { add(l); } - bool empty() { return svec::empty(); } -}; -/** - Same as for #svec# goes here. -*/ #endif