C++ normally complains if you don't use unique identifiers.
In Condition.h, we have
Code: Select all
struct FO_COMMON_API Building : public ConditionBase {
Code: Select all
class FO_COMMON_API Building : public UniverseObject {
How is there not a conflict (since structs and classes are pretty much interchangeable)?
I was going to post an issue about renaming one of those Building variables (to reduce confusion), but I wanted to check if this was done by design (some overload trick I'm not thinking of).