X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fglobal-ctor.cc;h=a4e585078e8bc54b9e0b7d1928404f29ccfee8eb;hb=1403a2c3b4a03ee78be253ac4c4f206b7a3b05db;hp=da204ebd8603f37dc979a18de8ffcbd2213bac50;hpb=d9b43b93f2c885409bafdb157138158f65cc49aa;p=lilypond.git diff --git a/lily/global-ctor.cc b/lily/global-ctor.cc index da204ebd86..a4e585078e 100644 --- a/lily/global-ctor.cc +++ b/lily/global-ctor.cc @@ -9,19 +9,19 @@ #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)) (); }