X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fdocument.cpp;fp=src%2Fdocument.cpp;h=22e4235e40ba7e650c7951ffa40cc6bea5e96c95;hp=7dda475c916dbf2b2fca6ad662c3ef43839e8d59;hb=25548aa3a2c3fd86202b01a88df6abd820a9eb6d;hpb=80c609660b049d1bf62d98acfb0c1aa893278123 diff --git a/src/document.cpp b/src/document.cpp index 7dda475..22e4235 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -355,8 +355,8 @@ unsigned Document::Add(ObjectType type, const Rect & bounds, unsigned data_index m_quadtree.nodes[overlay].object_end = m_count+1; m_quadtree.nodes[qti].next_overlay = overlay; } +done: // matches is not amused #endif -done: return (m_count++); // Why can't we just use the size of types or something? }