diff options
author | Pete Hurst <pete@streamuniverse.tv> | 2013-05-15 06:08:15 +0100 |
---|---|---|
committer | Pete Hurst <pete@streamuniverse.tv> | 2013-05-19 23:01:04 +0100 |
commit | b4d6f14cf200970d981b78a384e918c01c1a0167 (patch) | |
tree | b61a9c57f63a086e819158f3662bd99b7b9af7ac /crawl-ref/source/bitary.h | |
parent | 6484a40017ffa9e33a22607e40e9baa42042543d (diff) | |
download | crawl-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.h | 1 |
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(); |