1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-22 07:38:48 -05:00

Seriously WTF, LLVM/clang?

This commit is contained in:
Perttu Ahola 2012-03-23 00:44:43 +02:00
parent ede1674d6a
commit 9dd78a8a45

View File

@ -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_),