From 19b68f63324260482e02afa6493b691edddff6a0 Mon Sep 17 00:00:00 2001 From: Stephen Williams Date: Fri, 6 Mar 2009 10:19:46 -0800 Subject: [PATCH] Fix broken definition of is_linked(). (cherry picked from commit fff2598709132b96d5cd15b079249666641168f6) --- net_link.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net_link.cc b/net_link.cc index ec9a53049..59ab08087 100644 --- a/net_link.cc +++ b/net_link.cc @@ -173,7 +173,7 @@ void Link::unlink() bool Link::is_equal(const Link&that) const { - return (node_ == that.node_) && (pin_ == that.pin_); + return (get_obj() == that.get_obj()) && (get_pin() == that.get_pin()); } bool Link::is_linked() const