fixed NULL error in matchParallelAndDist function
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define VERSION_SPF "2418"
|
#define VERSION_SPF "2419"
|
||||||
|
|||||||
Reference in New Issue
Block a user