Lux-AI-Challenge / Lux-Design-S1

Home to the design and engine of the @Lux-AI-Challenge Season 1, hosted on @kaggle
https://lux-ai.org/
Apache License 2.0
897 stars 152 forks source link

the problem of mutual inclusion in kits/cpp #146

Closed udon1206 closed 2 years ago

udon1206 commented 2 years ago

https://github.com/Lux-AI-Challenge/Lux-Design-2021/blob/07c91c0bfda2b64c9dafa9ef1bf0a8ff67e5724a/kits/cpp/simple/lux/map.hpp#L4

https://github.com/Lux-AI-Challenge/Lux-Design-2021/blob/07c91c0bfda2b64c9dafa9ef1bf0a8ff67e5724a/kits/cpp/simple/lux/city.hpp#L6

kits/cpp/simple/lux/map.hpp and kits/cpp/simple/lux/city.hpp are cross-referenced, and kits/cpp/simple/lux/city.hpp don't have to include map.hpp.

I think #include "map.hpp" in kits/cpp/simple/lux/city.hpp should be removed.