diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-23 00:44:43 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-23 00:45:18 +0200 |
commit | 9dd78a8a451a7200bfb68b06e034ffb88e32bcd3 (patch) | |
tree | 264e590afae5bfa7e3d9fcaeffbc113400dd0739 /src/tool.h | |
parent | ede1674d6a93490795dbc2d1b79c20192b200ef5 (diff) | |
download | minetest-9dd78a8a451a7200bfb68b06e034ffb88e32bcd3.tar.gz minetest-9dd78a8a451a7200bfb68b06e034ffb88e32bcd3.tar.bz2 minetest-9dd78a8a451a7200bfb68b06e034ffb88e32bcd3.zip |
Seriously WTF, LLVM/clang?
Diffstat (limited to 'src/tool.h')
-rw-r--r-- | src/tool.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/tool.h b/src/tool.h index 35b05f041..401bb1f53 100644 --- a/src/tool.h +++ b/src/tool.h @@ -49,17 +49,22 @@ struct ToolGroupCap } }; + +// CLANG SUCKS DONKEY BALLS +typedef std::map<std::string, struct ToolGroupCap> ToolGCMap; + struct ToolCapabilities { float full_punch_interval; int max_drop_level; - std::map<std::string, ToolGroupCap> groupcaps; + // CLANG SUCKS DONKEY BALLS + ToolGCMap groupcaps; ToolCapabilities( float full_punch_interval_=1.4, int max_drop_level_=1, - std::map<std::string, ToolGroupCap> groupcaps_ = - std::map<std::string, ToolGroupCap>() + // CLANG SUCKS DONKEY BALLS + ToolGCMap groupcaps_=ToolGCMap() ): full_punch_interval(full_punch_interval_), max_drop_level(max_drop_level_), |