X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fglobal-ctor.cc;h=eecc7ed312187cf53d4503dd0148871ca8271864;hb=62e36043035ba8e0a9c1137077ff45d794a7003e;hp=da204ebd8603f37dc979a18de8ffcbd2213bac50;hpb=d9b43b93f2c885409bafdb157138158f65cc49aa;p=lilypond.git diff --git a/lily/global-ctor.cc b/lily/global-ctor.cc index da204ebd86..eecc7ed312 100644 --- a/lily/global-ctor.cc +++ b/lily/global-ctor.cc @@ -3,25 +3,25 @@ source file of the GNU LilyPond music typesetter - (c) 1999--2002 Han-Wen Nienhuys + (c) 1999--2003 Han-Wen Nienhuys */ #include "global-ctor.hh" #include "array.hh" -static Array *ctor_global_static_arr_p_; +static Array *ctor_global_statics_; void add_constructor (Global_ctor c) { - if (!ctor_global_static_arr_p_) - ctor_global_static_arr_p_ = new Array; - ctor_global_static_arr_p_->push (c); + if (!ctor_global_statics_) + ctor_global_statics_ = new Array; + ctor_global_statics_->push (c); } void call_constructors () { - for (int i=0; i < ctor_global_static_arr_p_->size (); i++) - (ctor_global_static_arr_p_->elem (i)) (); + for (int i=0; i < ctor_global_statics_->size (); i++) + (ctor_global_statics_->elem (i)) (); }