← Back to team overview

kicad-developers team mailing list archive

[PATCH 03/27] Make NETLIST_OBJECT::GetConnectionType() const

 

---
 eeschema/class_netlist_object.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eeschema/class_netlist_object.h b/eeschema/class_netlist_object.h
index 0b51714..cd3ff48 100644
--- a/eeschema/class_netlist_object.h
+++ b/eeschema/class_netlist_object.h
@@ -154,7 +154,7 @@ public:
         m_ConnectionType = aFlg;
     }
 
-    NET_CONNECTION_T GetConnectionType()
+    NET_CONNECTION_T GetConnectionType() const
     {
         return m_ConnectionType;
     }

Follow ups

References