summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/bitary.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-07-05 13:22:39 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-07-05 14:00:11 +0200
commit68935e461e64eeb85ea44c616d1eab58975b8e20 (patch)
tree471804168af54b681856211f26fefb5091b34c34 /crawl-ref/source/bitary.cc
parent15d548d4ba1148531b8d755d4130962126bccb52 (diff)
downloadcrawl-ref-68935e461e64eeb85ea44c616d1eab58975b8e20.tar.gz
crawl-ref-68935e461e64eeb85ea44c616d1eab58975b8e20.zip
Some more return deparenthesization.
Diffstat (limited to 'crawl-ref/source/bitary.cc')
-rw-r--r--crawl-ref/source/bitary.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/bitary.cc b/crawl-ref/source/bitary.cc
index f6cca8fc11..61137c771a 100644
--- a/crawl-ref/source/bitary.cc
+++ b/crawl-ref/source/bitary.cc
@@ -52,7 +52,7 @@ bit_array& bit_array::operator |= (const bit_array& other)
ASSERT(size == other.size);
for (int w = 0; w < nwords; ++w)
data[w] |= other.data[w];
- return (*this);
+ return *this;
}
bit_array& bit_array::operator &= (const bit_array& other)
@@ -60,7 +60,7 @@ bit_array& bit_array::operator &= (const bit_array& other)
ASSERT(size == other.size);
for (int w = 0; w < nwords; ++w)
data[w] &= other.data[w];
- return (*this);
+ return *this;
}
bit_array bit_array::operator & (const bit_array& other) const