diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-01-08 02:39:39 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-01-08 02:55:24 +0100 |
commit | ea0711175419418ee930d4b798fbc0199218a7bf (patch) | |
tree | 4a68c0350387ce16eba04bee16c89e077bb22e2a /crawl-ref/source/makeitem.h | |
parent | 0ece95b4b3bcbf31b51946cfea299a72aff16068 (diff) | |
download | crawl-ref-ea0711175419418ee930d4b798fbc0199218a7bf.tar.gz crawl-ref-ea0711175419418ee930d4b798fbc0199218a7bf.zip |
Fix an extremely spammy clang warning.
Note: we don't build at all with clang 2.7, but do with clang's trunk.
Since the error it throws is totally bogus (even C++0x says enums are ints
unless explicitely declared otherwise), I don't think we should bother
-- but since *BSD are moving to that buggy crap, it's something worth noting.
Diffstat (limited to 'crawl-ref/source/makeitem.h')
-rw-r--r-- | crawl-ref/source/makeitem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.h b/crawl-ref/source/makeitem.h index eabc057708..3f6140b918 100644 --- a/crawl-ref/source/makeitem.h +++ b/crawl-ref/source/makeitem.h @@ -28,7 +28,7 @@ int items(int allow_uniques, object_class_type force_class, int force_type, uint32_t mapmask = 0, int force_ego = 0, int agent = -1); // Create a corpse item for the given monster with the supplied spec. -struct item_spec; +class item_spec; enum monster_type; int item_corpse(monster_type monster, const item_spec &ispec); |