Soul-Engine
Soul-Engine copied to clipboard
Replace Includes With Forward Declarations
Headers should not be included when a forward declaration suffices. If an #include is used for just a signature such as
void PushBack(const Dog$);Dog* dog
and not as a storage requirement such as
Dog dog;
then the #include can be moved to the *.cpp file and a forward declaration used in its place class Dog;