You have recursive #include
s via your mutual references between cell.h
and actor.h
.
In Cell.h
, delete #include <Actor.h>
.
In Cell.h
, add the line class Actor;
just above the definition of class Cell
.
In Cell.cpp
, you might need to add #include "Actor.h"
.