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/place-info.cc | |
parent | 15d548d4ba1148531b8d755d4130962126bccb52 (diff) | |
download | crawl-ref-68935e461e64eeb85ea44c616d1eab58975b8e20.tar.gz crawl-ref-68935e461e64eeb85ea44c616d1eab58975b8e20.zip |
Some more return deparenthesization.
Diffstat (limited to 'crawl-ref/source/place-info.cc')
-rw-r--r-- | crawl-ref/source/place-info.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/place-info.cc b/crawl-ref/source/place-info.cc index 1e70a2f568..cd3c41d3c1 100644 --- a/crawl-ref/source/place-info.cc +++ b/crawl-ref/source/place-info.cc @@ -75,7 +75,7 @@ const PlaceInfo &PlaceInfo::operator += (const PlaceInfo &other) elapsed_resting += other.elapsed_resting; elapsed_other += other.elapsed_other; - return (*this); + return *this; } const PlaceInfo &PlaceInfo::operator -= (const PlaceInfo &other) @@ -102,7 +102,7 @@ const PlaceInfo &PlaceInfo::operator -= (const PlaceInfo &other) elapsed_resting -= other.elapsed_resting; elapsed_other -= other.elapsed_other; - return (*this); + return *this; } PlaceInfo PlaceInfo::operator + (const PlaceInfo &other) const |