From: Perttu Ahola Date: Thu, 22 Mar 2012 22:44:43 +0000 (+0200) Subject: Seriously WTF, LLVM/clang? X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=9dd78a8a451a7200bfb68b06e034ffb88e32bcd3;p=zefram%2Fminetest%2Fminetest_engine.git Seriously WTF, LLVM/clang? --- diff --git a/src/tool.h b/src/tool.h index 35b05f04..401bb1f5 100644 --- a/src/tool.h +++ b/src/tool.h @@ -49,17 +49,22 @@ struct ToolGroupCap } }; + +// CLANG SUCKS DONKEY BALLS +typedef std::map ToolGCMap; + struct ToolCapabilities { float full_punch_interval; int max_drop_level; - std::map groupcaps; + // CLANG SUCKS DONKEY BALLS + ToolGCMap groupcaps; ToolCapabilities( float full_punch_interval_=1.4, int max_drop_level_=1, - std::map groupcaps_ = - std::map() + // CLANG SUCKS DONKEY BALLS + ToolGCMap groupcaps_=ToolGCMap() ): full_punch_interval(full_punch_interval_), max_drop_level(max_drop_level_),