fixed NULL error in matchParallelAndDist function

This commit is contained in:
ALEXks
2025-05-18 15:42:38 +03:00
committed by Egor Mayorov
parent fb6e7eece6
commit 0f374ada8d
2 changed files with 2 additions and 2 deletions

View File

@@ -1601,7 +1601,7 @@ static bool matchParallelAndDist(const pair<DIST::Array*, const DistrVariant*>&
parallelOn = NULL; parallelOn = NULL;
for (auto& refOn : realRefs) for (auto& refOn : realRefs)
{ {
linkWithTempl = parallelOn->GetLinksWithTemplate(regionId); linkWithTempl = refOn->GetLinksWithTemplate(regionId);
int z = 0; int z = 0;
for (int k = 0; k < linkWithTempl.size(); ++k) for (int k = 0; k < linkWithTempl.size(); ++k)
if (linkWithTempl[k] != -1) if (linkWithTempl[k] != -1)

View File

@@ -1,3 +1,3 @@
#pragma once #pragma once
#define VERSION_SPF "2418" #define VERSION_SPF "2419"