diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-07-26 14:32:53 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-07-26 14:32:53 +0200 |
commit | cbff661dca89de78570dc665868c76e71ad24e2e (patch) | |
tree | 1db340b6c24953c5a8caa8ea2ac687e0dc4ad4e1 /crawl-ref/source/bitary.h | |
parent | 42facf2424f12ef1be983b9b9f6ec2996d3981bf (diff) | |
download | crawl-ref-cbff661dca89de78570dc665868c76e71ad24e2e.tar.gz crawl-ref-cbff661dca89de78570dc665868c76e71ad24e2e.zip |
Rename bit_array to bit_vector.
Diffstat (limited to 'crawl-ref/source/bitary.h')
-rw-r--r-- | crawl-ref/source/bitary.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/bitary.h b/crawl-ref/source/bitary.h index bd125b35ee..69a318e9b9 100644 --- a/crawl-ref/source/bitary.h +++ b/crawl-ref/source/bitary.h @@ -11,20 +11,20 @@ #include "debug.h" -class bit_array +class bit_vector { public: - bit_array(unsigned long size = 0); - ~bit_array(); + bit_vector(unsigned long size = 0); + ~bit_vector(); void reset(); bool get(unsigned long index) const; void set(unsigned long index, bool value = true); - bit_array& operator |= (const bit_array& other); - bit_array& operator &= (const bit_array& other); - bit_array operator & (const bit_array& other) const; + bit_vector& operator |= (const bit_vector& other); + bit_vector& operator &= (const bit_vector& other); + bit_vector operator & (const bit_vector& other) const; protected: unsigned long size; |