diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-12-21 03:13:03 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-12-21 20:37:10 +0100 |
commit | 90b5e0f82c24d5493a490ebc6a9fbb2076bb163c (patch) | |
tree | ced42b970ec9185ce0819444b1ecdf4bb691ae57 /crawl-ref/source/kills.h | |
parent | 36e7733ef688f582742c9f64ac1d1482371360ae (diff) | |
download | crawl-ref-90b5e0f82c24d5493a490ebc6a9fbb2076bb163c.tar.gz crawl-ref-90b5e0f82c24d5493a490ebc6a9fbb2076bb163c.zip |
Hush an invalid Clang warning.
The C++ standard explicitely allows interchangeably referring to a class and
struct by either name (C++98 7.1.5.3/3 = C++11 7.1.6.3/3).
Clang instead squeals:
warning: class 'monster_info' was previously declared as a struct [-Wmismatched-tags]
Diffstat (limited to 'crawl-ref/source/kills.h')
-rw-r--r-- | crawl-ref/source/kills.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/kills.h b/crawl-ref/source/kills.h index 4557093a61..b47170f457 100644 --- a/crawl-ref/source/kills.h +++ b/crawl-ref/source/kills.h @@ -13,7 +13,7 @@ #include "enum.h" class monster; -class monster_info; +struct monster_info; class reader; class writer; |