]> git.donarmstrong.com Git - lilypond.git/commit
tie-performer: using a vector always leads to memory corruption
authorReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 20 Nov 2009 17:25:04 +0000 (18:25 +0100)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 20 Nov 2009 17:27:00 +0000 (18:27 +0100)
commit88103fc1efe13e4171b6efcc6884579ebe4124ee
tree17d8325fd0f7d0a8ad68d0f81ccedc24a24b65e8
parent5507e6b9805037fb91f1a137dcd7f99f969bc8a2
tie-performer: using a vector always leads to memory corruption

So, we have use a deque instead, which works perfectly. I have no
idea where the corruption comes from with vectors. After the first
now_heads_.push_back (inf_mom), the now_heads_.size() will always
be something like 3303820998 instead of 1 ????
lily/tie-performer.cc