worldforge/metaserver-ng — comment on commit ad71d6f0153e48661677866a11689dad89e675ce
File:  line 0
By alriddoch:

You can go even further in reducing the include in headers by using forward declarations.

For example, in MetaServer.hpp you only ever handle pointers (or references) to PacketLogger, so you don't need the definition of that class to be available. You can remove that header, and add a simple forward declaration just before the class, like this:

class PacketLogger;