summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/bitary.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-04-07 14:15:45 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-04-07 14:17:23 +0200
commit843c20560b5a8672585e93ac19384bf5346e8ca0 (patch)
tree23af382ca3e307fdc8768036aa43cead16dde9cb /crawl-ref/source/bitary.cc
parentb293d2c013a848bffc3e826fa4082b995ae1e792 (diff)
downloadcrawl-ref-843c20560b5a8672585e93ac19384bf5346e8ca0.tar.gz
crawl-ref-843c20560b5a8672585e93ac19384bf5346e8ca0.zip
Fixed-width bit arrays, a good deal faster than dynamic ones.
Diffstat (limited to 'crawl-ref/source/bitary.cc')
-rw-r--r--crawl-ref/source/bitary.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/bitary.cc b/crawl-ref/source/bitary.cc
index 144674699a..c5b31a731b 100644
--- a/crawl-ref/source/bitary.cc
+++ b/crawl-ref/source/bitary.cc
@@ -9,8 +9,6 @@
#include "debug.h"
-#define LONGSIZE (sizeof(unsigned long)*8)
-
bit_array::bit_array(unsigned long s)
: size(s)
{