Fix NameIndexPrimaryKeyCompare
It was actually returning whether the names where not equal.
This commit is contained in:
@@ -67,7 +67,7 @@ public:
|
|||||||
{
|
{
|
||||||
if (a.entry != NULL && a.entry == b.entry)
|
if (a.entry != NULL && a.entry == b.entry)
|
||||||
return 0;
|
return 0;
|
||||||
return strcmp(a.name, b.name) != 0;
|
return strcmp(a.name, b.name);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user