X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fdictionary.hh;h=d3c9a7afb331137c8a666a8b999f60141eb07a1a;hb=9efbad2d9487a05b04423e7e9f062968e8f8eaf4;hp=55f0e4fedd932edba9f1c4f320319860311b362f;hpb=7fa94555679e3197028b1ab3fea02c374cd855da;p=lilypond.git diff --git a/flower/include/dictionary.hh b/flower/include/dictionary.hh index 55f0e4fedd..d3c9a7afb3 100644 --- a/flower/include/dictionary.hh +++ b/flower/include/dictionary.hh @@ -100,7 +100,6 @@ public: nexti = (nexti + j*j)%sz; } - finish: return retval; } }; @@ -181,7 +180,10 @@ public: V operator [] (String k) const { - return elem (k); + V retval; + if (!elem_b (k)) + return retval ; + retval ((Dictionary *) this)->elem (k); } V remove (String s)