Fix syntax error

This commit is contained in:
fur%netscape.com 1999-02-26 08:44:40 +00:00
parent 87a55612ae
commit 6aedaa14ee

View File

@ -101,7 +101,7 @@ inline void SimpleMultiset<Elt>::copy(const SimpleMultiset &src)
nNodes = src.nNodes;
Node **link = &nodes;
for (const Node *srcNode = src.nodes; srcNode; srcNode = srcNode->next) {
Node *dstNode = new Node(srcNode.element, srcNode.count);
Node *dstNode = new Node(srcNode->element, srcNode->count);
*link = dstNode;
link = &dstNode->next;
}