Skip to content

Commit

Permalink
fix: compile issues with header file inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
YermekG committed Oct 6, 2024
1 parent bc47382 commit 07e4868
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#pragma once

#include "CoreMinimal.h"
#include "Immutable/ImmutableSubsystem.h"
#include "Kismet/BlueprintAsyncActionBase.h"

#include "ImtblBlueprintAsyncAction.generated.h"
Expand All @@ -20,5 +20,5 @@ class IMMUTABLE_API UImtblBlueprintAsyncAction : public UBlueprintAsyncActionBas
UObject* WorldContextObject;

// Get subsystem
class UImmutableSubsystem* GetSubsystem() const;
UImmutableSubsystem* GetSubsystem() const;
};
6 changes: 3 additions & 3 deletions Source/Immutable/Public/Immutable/ImmutableSubsystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#pragma once

#include "CoreMinimal.h"
#include "ImmutablePassport.h"
#include "Subsystems/GameInstanceSubsystem.h"
// clang-format off
#include "ImmutableSubsystem.generated.h"
Expand All @@ -22,7 +22,7 @@ class IMMUTABLE_API UImmutableSubsystem : public UGameInstanceSubsystem
virtual void Initialize(FSubsystemCollectionBase& Collection) override;
virtual void Deinitialize() override;

TWeakObjectPtr<class UImmutablePassport> GetPassport() const
TWeakObjectPtr<UImmutablePassport> GetPassport() const
{
return MakeWeakObjectPtr(Passport);
}
Expand Down Expand Up @@ -56,7 +56,7 @@ class IMMUTABLE_API UImmutableSubsystem : public UGameInstanceSubsystem
class UImtblBlui* ImtblBlui = nullptr;

UPROPERTY()
class UImmutablePassport* Passport = nullptr;
UImmutablePassport* Passport = nullptr;

bool bHasSetupGameBridge = false;
bool bIsReady = false;
Expand Down

0 comments on commit 07e4868

Please sign in to comment.