X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fglobal-ctor.cc;h=adf15fd614dc5edce83b7b30995d0dc8a357152b;hb=9362f7f56c46e747aa302824a5c2cdb7fcedcb90;hp=e0bd7492966b4049c4eb0c1527a38769bd4ea474;hpb=64313890b232c731d432e5b096f30bffc3f3756d;p=lilypond.git diff --git a/lily/global-ctor.cc b/lily/global-ctor.cc index e0bd749296..adf15fd614 100644 --- a/lily/global-ctor.cc +++ b/lily/global-ctor.cc @@ -3,20 +3,20 @@ source file of the GNU LilyPond music typesetter - (c) 1999--2006 Han-Wen Nienhuys + (c) 1999--2009 Han-Wen Nienhuys */ #include "global-ctor.hh" #include "std-vector.hh" -static std::vector *ctor_global_statics_; +static vector *ctor_global_statics_; void add_constructor (Global_ctor c) { if (!ctor_global_statics_) - ctor_global_statics_ = new std::vector; + ctor_global_statics_ = new vector; ctor_global_statics_->push_back (c); } @@ -24,5 +24,5 @@ void call_constructors () { for (vsize i = 0; i < ctor_global_statics_->size (); i++) - (ctor_global_statics_->elem (i)) (); + (ctor_global_statics_->at (i)) (); }