2011/3/8 Rustem Alimov <arka...@gmail.com>: > Hi, > > src/core/CLucene/util/BitSet.cpp : line 93 > > [code] > _count = -1; <-- FIRST SET > > if (val) > bits[bit >> 3] |= 1 << (bit & 7); > else > bits[bit >> 3] &= ~(1 << (bit & 7)); > _count =-1; <-- SECOND SET (unnecessary???) > [/code]
You are right. The second one isn't necessary. I will remove it. Veit ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ CLucene-developers mailing list CLucene-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clucene-developers