Common/DebugInterface: Use forward declarations where applicable

We're allowed (by the standard) to forward declare types within
std::vector, so we can replace direct includes with forward declarations
and then include the types where they're directly needed.

While we're at it, we can remove an unused inclusion of <cstring>, given
nothing in the header uses anything from it. This also revealed an
indirect inclusion, which this also resolves.
This commit is contained in:
Lioncash
2019-07-08 18:07:11 -04:00
parent 98101bbbe4
commit a9a9b193bb
4 changed files with 14 additions and 6 deletions

View File

@@ -7,6 +7,8 @@
#include <cstddef>
#include <string>
#include "Common/Debug/MemoryPatches.h"
#include "Common/Debug/Watches.h"
#include "Common/DebugInterface.h"
class PPCPatches : public Common::Debug::MemoryPatches