Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 913c0a28 authored by g4m4's avatar g4m4
Browse files

[CODE] Fix forward declaration edge case

parent 849a4a37
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,11 @@ namespace {
}
}
// Implementations, even if defaulted, must be in the implementation file
// (for forward declarations and TUniquePtr usage)
FFixItCoreModule::FFixItCoreModule() = default;
FFixItCoreModule::~FFixItCoreModule() = default;
void FFixItCoreModule::StartupModule()
{
#if PLATFORM_WINDOWS
......
......@@ -20,8 +20,8 @@ class FIXITCORE_API FFixItCoreModule : public IModuleInterface
{
public:
// Those need to be defined due to a field TUniquePtr<FForwarDeclaredStruct>
//FFixItCoreModule();
//~FFixItCoreModule();
FFixItCoreModule();
~FFixItCoreModule();
// Begin IModuleInterface interface
virtual void StartupModule() override;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment