mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-22 12:20:44 +08:00
tweak
From-SVN: r19969
This commit is contained in:
parent
cf22ce453e
commit
e125ac2661
@ -439,7 +439,7 @@ Graph<T>::lookup_new(const T& from)
|
||||
{
|
||||
vertex<T> *v = lookup(from);
|
||||
if (0 == v) {
|
||||
vertices.append(from); // gets bogus error
|
||||
vertices.append(from);
|
||||
return &vertices(vertices.last());
|
||||
}
|
||||
return v;
|
||||
|
Loading…
Reference in New Issue
Block a user