summaryrefslogtreecommitdiffstats
path: root/include/shard/WIRS.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/shard/WIRS.h')
-rw-r--r--include/shard/WIRS.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/shard/WIRS.h b/include/shard/WIRS.h
index 5c651af..163311e 100644
--- a/include/shard/WIRS.h
+++ b/include/shard/WIRS.h
@@ -123,7 +123,11 @@ public:
continue;
}
- base->header &= 1;
+ // FIXME: this shouldn't be necessary, but the tagged record
+ // bypass doesn't seem to be working on this code-path, so this
+ // ensures that tagged records from the buffer are able to be
+ // dropped, eventually. It should only need to be &= 1
+ base->header &= 3;
m_data[m_reccnt++] = *base;
m_total_weight+= base->rec.weight;