From: fred Date: Sun, 24 Mar 2002 19:40:36 +0000 (+0000) Subject: lilypond-0.0.63 X-Git-Tag: release/1.5.59~4880 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d33776bd768373fcb6f40c831f582b42693b00d3;p=lilypond.git lilypond-0.0.63 --- diff --git a/flower/include/parray.hh b/flower/include/parray.hh index ed12074055..e003d46223 100644 --- a/flower/include/parray.hh +++ b/flower/include/parray.hh @@ -12,8 +12,14 @@ #include "varray.hh" +/** + an array of pointers. + + TODO + should init to 0. + */ template -class Pointer_array : public Array +class Link_array : public Array { public: int find_i (T t) const{ @@ -31,4 +37,5 @@ public: return 0; } }; + #endif // PARRAY_HH diff --git a/lily/include/local-key-reg.hh b/lily/include/local-key-reg.hh index 4921bd03aa..19e11b9d4e 100644 --- a/lily/include/local-key-reg.hh +++ b/lily/include/local-key-reg.hh @@ -7,6 +7,7 @@ #ifndef LOCALKEYREG_HH #define LOCALKEYREG_HH + #include "register.hh" #include "key.hh" #include "parray.hh" @@ -16,8 +17,8 @@ struct Local_key_register : Request_register { Key const *key_C_; Array mel_l_arr_; Array support_l_arr_; - Pointer_array forced_l_arr_; - Pointer_array tied_l_arr_; + Link_array forced_l_arr_; + Link_array tied_l_arr_; /* *************** */ virtual void process_requests(); virtual void acknowledge_element(Staff_elem_info);