From: Matthew Fernandez Date: Sun, 18 Apr 2021 19:54:50 +0000 (-0700) Subject: make getLeftNeighbours static X-Git-Tag: 2.47.2~44^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=866e591dfcec22c3a1fa7ef993251e3d0268c6df;p=graphviz make getLeftNeighbours static This is not used outside of its containing file. --- diff --git a/lib/vpsc/generate-constraints.cpp b/lib/vpsc/generate-constraints.cpp index 3502f55cb..c2f618ecb 100644 --- a/lib/vpsc/generate-constraints.cpp +++ b/lib/vpsc/generate-constraints.cpp @@ -86,7 +86,7 @@ bool CmpNodePos::operator() (const Node* u, const Node* v) const { return u < v; } -NodeSet* getLeftNeighbours(NodeSet &scanline,Node *v) { +static NodeSet* getLeftNeighbours(NodeSet &scanline,Node *v) { NodeSet *leftv = new NodeSet; NodeSet::iterator i=scanline.find(v); while(i!=scanline.begin()) {