<p>The patch in the previous email is an older one that somehow snuck in from the wrong branch, see the attachment on this email for the one that should be merged.</p>
<p>It is a little bit cleaner and fixes one potential out-of-bounds (by introducing an if-statement), and another seeking bug if one is seeking close to the end.</p>
<hr style="height:1px;margin-bottom:20px;background-color:#ddd;color:#ddd" />
<p>On 16/03/04 17:04, Filip Roséen wrote:</p>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>Manually managing memory comes at a cost of both maintainability (in terms of safety) and performance, as such I have replaced <code>p_indexes</code> with a <code>std::vector</code> with equivalent functionality.</p>
<p>Three helper member-functions have been introduced in order to clean up the usage of the functionality, as well as removal of two now obsolete member-variables. A <code>typedef</code> has also been introduced to aid future development.</p>
</blockquote>