From f2bbc0eccda58d61bf44ee3f9a39cac61a3f75ca Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Mon, 22 Dec 2025 14:47:34 +0000 Subject: [PATCH] CodeCache: Use defaulted dtor for ExecutableFileInfo --- FEXCore/Source/Interface/Core/CodeCache.cpp | 2 -- FEXCore/include/FEXCore/Core/CodeCache.h | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/FEXCore/Source/Interface/Core/CodeCache.cpp b/FEXCore/Source/Interface/Core/CodeCache.cpp index 2c3473dd3..964e6a4bc 100644 --- a/FEXCore/Source/Interface/Core/CodeCache.cpp +++ b/FEXCore/Source/Interface/Core/CodeCache.cpp @@ -11,7 +11,6 @@ #include #include -#include #include #include @@ -30,7 +29,6 @@ ExecutableFileInfo::ExecutableFileInfo(fextl::unique_ptr Map , FileId(FileId) , Filename(Filename) {} #endif -ExecutableFileInfo::~ExecutableFileInfo() = default; fextl::string CodeMap::GetBaseFilename(const ExecutableFileInfo& MainExecutable, bool AddNombSuffix) { auto FileId = MainExecutable.FileId; diff --git a/FEXCore/include/FEXCore/Core/CodeCache.h b/FEXCore/include/FEXCore/Core/CodeCache.h index fff72094c..c92d4a878 100644 --- a/FEXCore/include/FEXCore/Core/CodeCache.h +++ b/FEXCore/include/FEXCore/Core/CodeCache.h @@ -8,6 +8,7 @@ #include #include #include +#include #include #include @@ -31,8 +32,6 @@ enum class GuestRelocationType : uint32_t { Rel32, Rel64 }; // Generic information associated with an executable file. struct ExecutableFileInfo { - ~ExecutableFileInfo(); - #if __clang_major__ < 16 // Workaround for broken aggregate-initialization with std::piecewise_construct ExecutableFileInfo(fextl::unique_ptr, uint64_t, fextl::string);