[lldb] Move ~Platform to source file

The called destructors of the members require the includes that are only
in the source file.
This commit is contained in:
Raphael Isemann 2021-10-14 21:36:10 +02:00
parent 8ecbcd058f
commit 482c53fa0d
2 changed files with 3 additions and 1 deletions

View File

@ -75,7 +75,7 @@ public:
/// The destructor is virtual since this class is designed to be inherited
/// from by the plug-in instance.
~Platform() override = default;
~Platform() override;
static void Initialize();

View File

@ -395,6 +395,8 @@ Platform::Platform(bool is_host)
LLDB_LOGF(log, "%p Platform::Platform()", static_cast<void *>(this));
}
Platform::~Platform() = default;
void Platform::GetStatus(Stream &strm) {
std::string s;
strm.Printf(" Platform: %s\n", GetPluginName().GetCString());