Skip to content

Commit ff25b6f

Browse files
committed
Fix UE4 compilation
1 parent 23995fb commit ff25b6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/PlasticSourceControl/Private/PlasticSourceControlProvider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ TSharedRef<FPlasticSourceControlState, ESPMode::ThreadSafe> FPlasticSourceContro
147147
else
148148
{
149149
// cache an unknown state for this item
150-
TSharedRef<FPlasticSourceControlState, ESPMode::ThreadSafe> NewState = MakeShared<FPlasticSourceControlState>(FString(InFilename));
150+
TSharedRef<FPlasticSourceControlState, ESPMode::ThreadSafe> NewState = MakeShareable(new FPlasticSourceControlState(FString(InFilename)));
151151
StateCache.Add(InFilename, NewState);
152152
return NewState;
153153
}

0 commit comments

Comments
 (0)