summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/format.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/format.cc
parent15d548d4ba1148531b8d755d4130962126bccb52 (diff)
downloadcrawl-ref-68935e461e64eeb85ea44c616d1eab58975b8e20.tar.gz
crawl-ref-68935e461e64eeb85ea44c616d1eab58975b8e20.zip
Some more return deparenthesization.
Diffstat (limited to 'crawl-ref/source/format.cc')
-rw-r--r--crawl-ref/source/format.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/format.cc b/crawl-ref/source/format.cc
index db017e00ca..dd424d4932 100644
--- a/crawl-ref/source/format.cc
+++ b/crawl-ref/source/format.cc
@@ -277,7 +277,7 @@ const formatted_string &
formatted_string::operator += (const formatted_string &other)
{
ops.insert(ops.end(), other.ops.begin(), other.ops.end());
- return (*this);
+ return *this;
}
int formatted_string::width() const
@@ -458,7 +458,7 @@ void formatted_string::clear()
bool formatted_string::empty()
{
- return (ops.empty());
+ return ops.empty();
}
void formatted_string::cprintf(const char *s, ...)