summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/bitary.h
diff options
context:
space:
mode:
authorPete Hurst <pete@streamuniverse.tv>2013-05-15 06:08:15 +0100
committerPete Hurst <pete@streamuniverse.tv>2013-05-19 23:01:04 +0100
commitb4d6f14cf200970d981b78a384e918c01c1a0167 (patch)
treeb61a9c57f63a086e819158f3662bd99b7b9af7ac /crawl-ref/source/bitary.h
parent6484a40017ffa9e33a22607e40e9baa42042543d (diff)
downloadcrawl-ref-b4d6f14cf200970d981b78a384e918c01c1a0167.tar.gz
crawl-ref-b4d6f14cf200970d981b78a384e918c01c1a0167.zip
Add a copy constructor to bit_vector (xFleury)
This caused an error with clouds and LOS due to an implicit copy having undefined behaviour and not working properly in MSVC.
Diffstat (limited to 'crawl-ref/source/bitary.h')
-rw-r--r--crawl-ref/source/bitary.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/bitary.h b/crawl-ref/source/bitary.h
index 047c98163d..97a02ae418 100644
--- a/crawl-ref/source/bitary.h
+++ b/crawl-ref/source/bitary.h
@@ -15,6 +15,7 @@ class bit_vector
{
public:
bit_vector(unsigned long size = 0);
+ bit_vector(const bit_vector& other);
~bit_vector();
void reset();