Skip to content

Commit 11866ae

Browse files
committed
cleanup
1 parent 48ce4a2 commit 11866ae

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

Source/Flow/Public/Types/FlowDataPinValue.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#pragma once
44

55
#include "UObject/NameTypes.h"
6-
#include "UObject/ObjectPtr.h"
76

87
#include "FlowPinEnums.h"
98
#include "FlowPinType.h"

Source/Flow/Public/Types/FlowPinTypeName.h

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#pragma once
44

55
#include "UObject/NameTypes.h"
6-
76
#include "FlowPinTypeName.generated.h"
87

98
USTRUCT(BlueprintType)
@@ -16,9 +15,21 @@ struct FFlowPinTypeName
1615
FName Name = NAME_None;
1716

1817
FFlowPinTypeName() = default;
19-
explicit FFlowPinTypeName(const TCHAR* InPinName) : Name(FName(InPinName)) {}
20-
explicit FFlowPinTypeName(const FName& InName) : Name(InName) {}
21-
explicit FFlowPinTypeName(const FString& InString) : Name(FName(InString)) {}
18+
19+
explicit FFlowPinTypeName(const TCHAR* InPinName)
20+
: Name(FName(InPinName))
21+
{
22+
}
23+
24+
explicit FFlowPinTypeName(const FName& InName)
25+
: Name(InName)
26+
{
27+
}
28+
29+
explicit FFlowPinTypeName(const FString& InString)
30+
: Name(FName(InString))
31+
{
32+
}
2233

2334
friend inline uint32 GetTypeHash(const FFlowPinTypeName& PinTypeName)
2435
{
@@ -30,4 +41,4 @@ struct FFlowPinTypeName
3041

3142
FString ToString() const { return Name.ToString(); }
3243
bool IsNone() const { return Name.IsNone(); }
33-
};
44+
};

0 commit comments

Comments
 (0)