Fix compile errors from 669ba885ce
Sorry, you can't avoid including unit.hpp in all cases. But, it's still a lot less than it used to be.
This commit is contained in:
parent
65ecc2d8ca
commit
ca51442277
2 changed files with 4 additions and 2 deletions
|
@ -12,8 +12,7 @@
|
|||
See the COPYING file for more details.
|
||||
*/
|
||||
|
||||
#include "units/ptr.hpp"
|
||||
#include "units/unit.hpp"
|
||||
#include "units/make.hpp"
|
||||
|
||||
unit_ptr make_unit_ptr(const config& cfg, bool use_traits, const vconfig* vcfg){
|
||||
return { new unit(cfg, use_traits, vcfg) };
|
||||
|
|
|
@ -13,6 +13,9 @@
|
|||
*/
|
||||
|
||||
#include "units/race.hpp"
|
||||
#include "units/ptr.hpp"
|
||||
#include "units/unit.hpp"
|
||||
|
||||
class config;
|
||||
class unit_type;
|
||||
class vconfig;
|
||||
|
|
Loading…
Add table
Reference in a new issue