Skip to content

Commit

Permalink
Fix compilation for UE4 broken since we merged pull request #107 from…
Browse files Browse the repository at this point in the history
… PlasticSCM/1004409-view-locks-window
  • Loading branch information
SRombautsU committed Feb 19, 2024
1 parent aabf26e commit a480670
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ bool FPlasticUnlockWorker::Execute(FPlasticSourceControlCommand& InCommand)
check(InCommand.Operation->GetName() == GetName());
TSharedRef<FPlasticUnlock, ESPMode::ThreadSafe> Operation = StaticCastSharedRef<FPlasticUnlock>(InCommand.Operation);

if (!Operation->Locks.IsEmpty())
if (Operation->Locks.Num() > 0)
{
// The View Locks window works with object specs using ItemIds and Branch names
// The unlock operation works on a per-branch basis when multiple Lock destinations are involved
Expand Down

0 comments on commit a480670

Please sign in to comment.