diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-07-05 13:22:39 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-07-05 14:00:11 +0200 |
commit | 68935e461e64eeb85ea44c616d1eab58975b8e20 (patch) | |
tree | 471804168af54b681856211f26fefb5091b34c34 /crawl-ref/source/random-var.cc | |
parent | 15d548d4ba1148531b8d755d4130962126bccb52 (diff) | |
download | crawl-ref-68935e461e64eeb85ea44c616d1eab58975b8e20.tar.gz crawl-ref-68935e461e64eeb85ea44c616d1eab58975b8e20.zip |
Some more return deparenthesization.
Diffstat (limited to 'crawl-ref/source/random-var.cc')
-rw-r--r-- | crawl-ref/source/random-var.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/random-var.cc b/crawl-ref/source/random-var.cc index ee207202f4..3cb9814ab0 100644 --- a/crawl-ref/source/random-var.cc +++ b/crawl-ref/source/random-var.cc @@ -31,7 +31,7 @@ const random_var& random_var::operator=(const random_var& other) end = other.end; total = other.total; weights = other.weights; - return (*this); + return *this; } int random_var::weight(int val) const |