diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-07-10 02:39:14 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-07-10 11:11:28 +0200 |
commit | c07ccef778091334f7611ec29a276bb6a3b89fc5 (patch) | |
tree | af3a8b68a65d06ae60c2a5ca874bcddae1859640 /crawl-ref/source/menu.h | |
parent | 2302989732b3e25c65e0f2279b452e04d1552940 (diff) | |
download | crawl-ref-c07ccef778091334f7611ec29a276bb6a3b89fc5.tar.gz crawl-ref-c07ccef778091334f7611ec29a276bb6a3b89fc5.zip |
Drop a bunch of useless uses of this->
I left a few cases where it helps disambiguate between global and object
functions by the same name (formatted_string::cprintf(), etc).
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r-- | crawl-ref/source/menu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h index 6893c1038f..0d7addb404 100644 --- a/crawl-ref/source/menu.h +++ b/crawl-ref/source/menu.h @@ -52,7 +52,7 @@ struct menu_letter menu_letter operator ++ (int) { menu_letter copy = *this; - this->operator++(); + operator++(); return copy; } }; @@ -77,7 +77,7 @@ struct menu_letter2 menu_letter2 operator ++ (int) { menu_letter2 copy = *this; - this->operator++(); + operator++(); return copy; } }; |