X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fligature-engraver.cc;h=ab7dfebadb2e4829bf2d8fa7b4d9b922b52f48c2;hb=cf4b1202d9f3d891a98ebab7d5df0d5cfb7f8ad8;hp=81523a0109d5056fc5050c3d7099c503c6736b3b;hpb=1bf2062b6126102e7e66ed954a3be9906894ec1b;p=lilypond.git diff --git a/lily/ligature-engraver.cc b/lily/ligature-engraver.cc index 81523a0109..ab7dfebadb 100644 --- a/lily/ligature-engraver.cc +++ b/lily/ligature-engraver.cc @@ -14,8 +14,6 @@ #include "rest.hh" #include "spanner.hh" #include "stream-event.hh" -#include "warn.hh" - #include "translator.icc" /* @@ -82,7 +80,7 @@ void Ligature_engraver::listen_ligature (Stream_event *ev) { Direction d = to_dir (ev->get_property ("span-direction")); - events_drul_[d] = ev; + ASSIGN_EVENT_ONCE (events_drul_[d], ev); } void