summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r--crawl-ref/source/menu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h
index 4552851bb4..a788b92ebc 100644
--- a/crawl-ref/source/menu.h
+++ b/crawl-ref/source/menu.h
@@ -33,7 +33,8 @@ struct menu_letter
return *this;
}
- menu_letter operator ++ (int postfix)
+ // dummy postfix argument unnamed to stop gcc from complaining
+ menu_letter operator ++ (int)
{
menu_letter copy = *this;
this->operator++();